Re: [patch] only-one-cache-query [was Re: [patch] arca-vm-2.2.5]

Andrea Arcangeli
1999-04-07T14:13:16Z

On Wed, 7 Apr 1999, Ingo Molnar wrote:

>this can be done via an existing variable, kstat.ctxsw, no need to add yet
>another 'have we scheduled' flag. But the whole approach is quite flawed

I just thought about ctxsw but kstat.context_swtch could be not increased
(if next == prev), and if we release the lock we must return finding the
page.

Andrea Arcangeli