Re: Locking comment on shrink_caches()

David S. Miller (
Tue, 25 Sep 2001 15:03:28 -0700 (PDT)

From: Andrea Arcangeli <>
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
lock (because the hash chain is potentially different).

Franks a lot,
David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at