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

Andrea Arcangeli (andrea@e-mind.com)
Wed, 7 Apr 1999 15:49:34 +0200 (CEST)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/