Re: SCHED_BATCH and SCHED_BATCH numbering

Ingo Molnar
2004-08-05T06:56:46Z

* 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