Re: [PATCH 3/6] lib: radix-tree: native accounting of exceptional entries

2016-11-08 Thread Jan Kara
On Mon 07-11-16 14:07:38, Johannes Weiner wrote: > The way the page cache is sneaking shadow entries of evicted pages > into the radix tree past the node entry accounting and tracking them > manually in the upper bits of node->count is fraught with problems. > > These shadow entries are marked in

[PATCH 3/6] lib: radix-tree: native accounting of exceptional entries

2016-11-07 Thread Johannes Weiner
The way the page cache is sneaking shadow entries of evicted pages into the radix tree past the node entry accounting and tracking them manually in the upper bits of node->count is fraught with problems. These shadow entries are marked in the tree as exceptional entries, which are a native concept