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

Andrea Arcangeli
1999-04-07T14:04:39Z

On Wed, 7 Apr 1999, Stephen C. Tweedie wrote:

>At that point, we will need to drop any spinlocks we hold before calling
>get_free_page(), because the scheduler will only drop the global lock
>automatically if we sleep and we can't sleep with any other locks held.
>Now, even if we _don't_ sleep, another CPU can get in to mess with the
>page cache while we are doing allocation stuff.

Yes, agreed.

Andrea Arcangeli