Re: [patch] sched: fix scheduling latencies for !PREEMPT kernels

Ingo Molnar
2004-09-14T15:01:57Z

* Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> Another thing, I don't mean this to sound like a rhetorical question,
> but if we have a preemptible kernel, why is it a good idea to sprinkle
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> cond_rescheds everywhere? Isn't this now the worst of both worlds? Why
> would someone who really cares about latency not enable preempt?

two things:

1) none of the big distros enables CONFIG_PREEMPT in their kernels - not
even SuSE. This is pretty telling.

2) 10 new cond_resched()'s are not precisely 'sprinkle everywhere'.

Ingo