Re: Locking comment on shrink_caches()

Andrea Arcangeli
2001-09-25T22:59:09Z

On Tue, Sep 25, 2001 at 03:03:28PM -0700, David S. Miller wrote:
> From: Andrea Arcangeli <andrea@suse.de>
> Date: Wed, 26 Sep 2001 00:01:02 +0200
>
> IMHO if we would hold the pagecache lock all the time while shrinking
> the cache, then we could kill the lru lock in first place.
>
> And actually in the pagecache locking patches, doing such a thing
> would be impossible :-) since each page needs to grab a different

good further point too :), it would be an option only for mainline.

Andrea