Re: [patch 10/10] mm: keep page cache radix tree nodes in check

2014-02-04 Thread Johannes Weiner
On Tue, Feb 04, 2014 at 03:07:56PM -0800, Andrew Morton wrote: > On Mon, 3 Feb 2014 19:53:42 -0500 Johannes Weiner wrote: > > > Previously, page cache radix tree nodes were freed after reclaim > > emptied out their page pointers. But now reclaim stores shadow > > entries in their place, which a

Re: [patch 10/10] mm: keep page cache radix tree nodes in check

2014-02-04 Thread Andrew Morton
On Mon, 3 Feb 2014 19:53:42 -0500 Johannes Weiner wrote: > Previously, page cache radix tree nodes were freed after reclaim > emptied out their page pointers. But now reclaim stores shadow > entries in their place, which are only reclaimed when the inodes > themselves are reclaimed. This is pr

[patch 10/10] mm: keep page cache radix tree nodes in check

2014-02-03 Thread Johannes Weiner
Previously, page cache radix tree nodes were freed after reclaim emptied out their page pointers. But now reclaim stores shadow entries in their place, which are only reclaimed when the inodes themselves are reclaimed. This is problematic for bigger files that are still in use after they have a s