lkml.org 
[lkml]   [2004]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCHED_BATCH and SCHED_BATCH numbering

* Albert Cahalan <albert@users.sf.net> wrote:

> Are these going to be numbered consecutively, or might they better be
> done like the task state? [...]

this is quite unnecessary at the moment since p->prio < MAX_RT_PRIO is a
good enough check - but whenever the way p->prio works is changed it
will be easy to introduce a PF_REALTIME flag that is set/cleared in
setscheduler(). (instead of playing around with p->policy.)

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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.270 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site