Andrea Arcangeli <andrea at suse.de> wrote: > > I'm missing where cond_resched is needed inside lock_kernel though, Anywhere where we do lots of work inside lock_kernel(). Various ioctls and ext3 journal recovery are instances.