linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: "Frederich, Jens" <Jens.Frederich@vector.com>
Cc: "linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: workqueue realtime priority
Date: Fri, 25 Oct 2013 19:59:52 +0200	[thread overview]
Message-ID: <20131025175952.GB21841@linutronix.de> (raw)
In-Reply-To: <9B7F15AA4177464A8FAB5BE79B14288B889580FE@vistrex4.vi.vector.int>

* Frederich, Jens | 2013-10-15 13:04:22 [+0000]:

>Hi all,
Hi Jems,

>is there any way to set the global workqueue priority to real
>time or setup a workqueue with real time priority on Linux RT
>3.x? I want to setup a kernel worker thread with real time
>priority. What's the best way? Should I better use tasklets?

There is the chrt tool to change the priority of a task. But the workers  are
created on demand and shared with others so it won't be good.
Whether it is good to use a tasklet or not depends on what you try to
do. But since you can't alter the priority of the tasklet (and only of
tasklet) it is probably not better.

>Thanks
>Jens

Sebastian

  reply	other threads:[~2013-10-25 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 13:04 workqueue realtime priority Frederich, Jens
2013-10-25 17:59 ` Sebastian Andrzej Siewior [this message]
2013-10-30  9:08 ` Thomas Gleixner

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=20131025175952.GB21841@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=Jens.Frederich@vector.com \
    --cc=linux-rt-users@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;
as well as URLs for NNTP newsgroup(s).