public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SCHED_BATCH and SCHED_BATCH numbering
@ 2004-08-04 16:50 Albert Cahalan
  2004-08-05  1:17 ` Peter Williams
  2004-08-05  6:57 ` Ingo Molnar
  0 siblings, 2 replies; 13+ messages in thread
From: Albert Cahalan @ 2004-08-04 16:50 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: kernel, Andrew Morton OSDL

Are these going to be numbered consecutively, or might
they better be done like the task state? SCHED_FIFO is
in fact already treated this way in one place. One might
want to test values this way:

if(foo & (SCHED_ISO|SCHED_RR|SCHED_FIFO))  ...

(leaving aside SCHED_OTHER==0, or just translate
that single value for the ABI)

I'd like to see these get permenant allocations
soon, even if the code doesn't go into the kernel.
This is because user-space needs to know the values.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-08-05 12:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 16:50 SCHED_BATCH and SCHED_BATCH numbering Albert Cahalan
2004-08-05  1:17 ` Peter Williams
2004-08-05  1:27   ` Nick Piggin
2004-08-05  2:09     ` Peter Williams
2004-08-05  2:23       ` Nick Piggin
2004-08-05  3:03         ` Peter Williams
2004-08-05  3:06           ` Nick Piggin
2004-08-05  2:28             ` Albert Cahalan
2004-08-05  7:06               ` Nick Piggin
2004-08-05  3:36             ` Peter Williams
2004-08-05  4:15               ` Nick Piggin
2004-08-05  6:57 ` Ingo Molnar
2004-08-05  9:48   ` Albert Cahalan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox