lkml.org 
[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] SCHED_SOFTRR starve-free linux scheduling policy ...
Date
On Sunday 10 August 2003 07.43, Nick Piggin wrote:
> Roger Larsson wrote:
> >* SCHED_FIFO requests from non root should also be treated as SCHED_SOFTRR
>
> I hope computers don't one day become so fast that SCHED_SOFTRR is
> required for skipless mp3 decoding, but if they do, then I think
> SCHED_SOFTRR should drop its weird polymorphing semantics ;)

After some tinking...

Neither SCHED_FIFO nor SCHED_RR should automatically be promoted to
SCHED_SOFTRR in the kernel.

* If a process knows about SCHED_SOFTRR it should use that.
(example: arts should use SCHED_SOFTRR not SCHED_FIFO)
Problem: what to do when compiling for UN*Xes that does not have SOFTRR.
[Is there any other UN*X that have something resembling of this? What do
they call it?]

* Cases where the code has not been modified should be handled by a wrapper
(library). setscheduler is a weak symbol isn't it?

/RogerL

--
Roger Larsson
Skellefteå
Sweden
-
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 13:47    [W:0.064 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site