Re: [patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-27 Thread Johannes Weiner
Here are the changes to the series I have accumulated so far. Mainly: o truncate_inode_pages_final() that sets mapping_set_exiting() and uses ordered but unlocked nrshadows & nrpages reads to skip the tree lock acquisition and IRQ disabling on empty page cache trees. o revert all efforts to

Re: [patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-26 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:57:29PM -0800, Andrew Morton wrote: > On Sun, 24 Nov 2013 18:38:19 -0500 Johannes Weiner wrote: > > > This series solves the problem by maintaining a history of pages > > evicted from the inactive list, enabling the VM to detect frequently > > used pages regardless of i

Re: [patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-25 Thread Andrew Morton
On Sun, 24 Nov 2013 18:38:19 -0500 Johannes Weiner wrote: > This series solves the problem by maintaining a history of pages > evicted from the inactive list, enabling the VM to detect frequently > used pages regardless of inactive list size and facilitate working set > transitions. It's a very

[patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-24 Thread Johannes Weiner
Changes in this revision: o Based on suggestions from Dave Chinner and Rik van Riel, rework the shadow entry reclaim to directly track and scan radix tree nodes containing only shadows instead of operating on an inode level. This adds one word to the address space (thus inode) and tw