Messages in this thread | | | Date | Thu, 20 Jan 2005 09:07:20 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] [request for inclusion] Realtime LSM |
| |
* Matt Mackall <mpm@selenic.com> wrote:
> > Or, should that be? > > > > if (prio > 0 && prio <= 20 && policy != SCHED_NORMAL) { > > Or you can just drop the 'prio == 1 &&' part for this test. Ingo was > trying to be clever to allow some RT bits, but that's not really > necessary.
actually, there may be some kernel threads that may run at RT priority 99. But i agree, dropping the test for prio==1 should work just as fine.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |