Re: [PATCH v5 04/78] page cache: Use xa_lock

2017-12-26 Thread Kirill A. Shutemov
On Fri, Dec 15, 2017 at 02:03:36PM -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > Remove the address_space ->tree_lock and use the xa_lock newly added to > the radix_tree_root. Rename the address_space ->page_tree to ->pages, > since we don't really care that it's a tree. Take the oppo

[PATCH v5 04/78] page cache: Use xa_lock

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox Remove the address_space ->tree_lock and use the xa_lock newly added to the radix_tree_root. Rename the address_space ->page_tree to ->pages, since we don't really care that it's a tree. Take the opportunity to rearrange the elements of address_space to pack them better on