From: Clark Williams <williams@redhat.com>
To: gregoire@gentil.com
Cc: Mike Galbraith <efault@gmx.de>, linux-rt-users@vger.kernel.org
Subject: Re: how to put in higher priority a thread in rt-kernel?
Date: Mon, 10 Sep 2012 11:20:01 -0500 [thread overview]
Message-ID: <20120910112001.7570fd7e@redhat.com> (raw)
In-Reply-To: <504D793C.7030402@gentil.com>
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
On Sun, 09 Sep 2012 22:23:08 -0700
Gregoire Gentil <gregoire@gentil.com> wrote:
>
>
> On 09/09/2012 08:52 PM, Mike Galbraith wrote:
> > On Sun, 2012-09-09 at 15:51 -0700, Gregoire Gentil wrote:
> >> In other words, is there an equivalent of
> >> sched_setscheduler for thread inside the kernel?
> >
> > Yup, and it's even called sched_setscheduler() :)
> >
> > -Mike
> Thanks for answering! I don't think that my question is the smartest one
> ever asked on this mailing list ;-)
>
I've heard worse :).
My only comment is that I'd think long and hard before setting my
interrupt thread up at fifo:99, since that's where the migration and
watchdog live and you really don't want to impact them.
Are you trying to have your interrupt serviced ahead of all the other
system interrupts or just trying to be up above the SCHED_OTHER
threads? If the former, then you just need to be up above wherever the
IRQ threads live (default is fifo:50). If the later then fifo:2 would
be a safe bet.
Clark
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-09-10 16:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 20:48 Don't reference non-standard realtime group Uwe Kleine-König
2012-09-02 19:49 ` Uwe Kleine-König
2012-09-03 6:10 ` "g_serial: fix deadlock with PREEMPT_RT enabled" still not integrated Gregoire Gentil
2012-09-03 6:24 ` TI wl1271 wireless bug with 3.4-rt17 Gregoire Gentil
2012-09-04 14:11 ` Josh Cartwright
2012-09-05 1:22 ` Gregoire Gentil
2012-09-06 3:48 ` Josh Cartwright
2012-09-06 4:22 ` Gregoire Gentil
2012-09-09 22:42 ` Gregoire Gentil
2012-09-09 22:51 ` how to put in higher priority a thread in rt-kernel? Gregoire Gentil
2012-09-10 3:52 ` Mike Galbraith
2012-09-10 5:23 ` Gregoire Gentil
2012-09-10 16:20 ` Clark Williams [this message]
2012-10-15 23:13 ` Don't reference non-standard realtime group John Kacur
2012-10-16 18:26 ` Josh Cartwright
2012-10-18 16:13 ` Josh Cartwright
2012-10-19 2:12 ` Clark Williams
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=20120910112001.7570fd7e@redhat.com \
--to=williams@redhat.com \
--cc=efault@gmx.de \
--cc=gregoire@gentil.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).