lkml.org 
[lkml]   [2007]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.24-rc6-mm1

* Herbert Xu <herbert@gondor.apana.org.au> wrote:

> > Ingo, it's not good that we have cond_resched() definitions
> > conditionally duplicated in kernel.h - that's increasing the risk of
> > bugs like this one.
>
> Actually, why do we even have cond_resched when real preemption is on?
> It seems to be a waste of space and time.

due to the BKL. cond_resched() in BKL code breaks up BKL latencies.

i dont mind not doing that though - we should increase the pain for BKL
users, so that subsystems finally get rid of it altogether.
lock_kernel() use within the kernel is still rampant - there are still
more than 400 callsites to lock_kernel().

Ingo


\
 
 \ /
  Last update: 2007-12-30 14:13    [W:0.049 / U:12.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site