mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Block Device <blockdevice@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Increase priority of a workqueue thread ?
Date: Thu, 20 Oct 2005 18:42:50 +0530	[thread overview]
Message-ID: <64c763540510200612s1e3aa7dvefdac28dd8d24106@mail.gmail.com> (raw)

Hi,
    I am using a custom workqueue thread in my module. How do I increase the
priority of the workqueue threads ?
I've seen that each workqueue contains an array of per-cpu structures
which has a
task_struct of the thread on a particular cpu. Since these threads are
created from keventd
I think they'll have the same priority as keventd.  Also the per-cpu
structure is something which is private to the workqueue
implementation. Directly using it (from my driver) to increase the
priority of the workqueue doesnt seem correct to me. Is there any
interface or standard way of changing the priority of a workqueue.

Thanks
BD

             reply	other threads:[~2005-10-20 13:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 13:12 Block Device [this message]
2005-10-20 13:36 ` linux-os (Dick Johnson)
2005-10-20 15:05 ` Con Kolivas
2005-10-21  6:55   ` Block Device

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64c763540510200612s1e3aa7dvefdac28dd8d24106@mail.gmail.com \
    --to=blockdevice@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®