Messages in this thread | | | Date | Mon, 13 Oct 2008 10:55:59 -0400 | From | Arjan van de Ven <> | Subject | Re: [kerneloops] regression in 2.6.27 wrt "lock_page" and the "hwclock" program |
| |
On Sun, 12 Oct 2008 13:16:12 -0700 (PDT) Linus Torvalds <torvalds@linux-foundation.org> wrote:
> > > On Sun, 12 Oct 2008, Karel Zak wrote: > > > > Any suggestion how to nicely implement "don't schedule me out"? > > There's nothing you can do. If you take a page fault, you're done. > Forget about any "can't schedule" or "don't enable interrupts". The > kernel _has_ to handle the page fault, and that may involve IO and > thus random pauses. No ifs, buts or maybe's about it. > > This patch may or may not get rid of the warning, at least. It won't > fix hwclock, but that's apparently unfixable from the kernel - the > thing is just plain buggy.
it almost sounds like it's trying to do something that ... really the kernel should be doing.
Karel: Can you describe what it WANTS to do so we can see if we can just extend the linux kernel to do that the right way?
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |