Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Kirill A. Shutemov
On Fri, Nov 23, 2018 at 09:19:00AM -0800, Matthew Wilcox wrote: > On Fri, Nov 23, 2018 at 01:56:44PM +0300, Kirill A. Shutemov wrote: > > On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > > > Transparent Huge Pages are currently stored in i_pages as pointers to > > > consecutive sub

Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Matthew Wilcox
On Fri, Nov 23, 2018 at 01:56:44PM +0300, Kirill A. Shutemov wrote: > On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > > Transparent Huge Pages are currently stored in i_pages as pointers to > > consecutive subpages. This patch changes that to storing consecutive > > pointers to t

Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Kirill A. Shutemov
On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > Transparent Huge Pages are currently stored in i_pages as pointers to > consecutive subpages. This patch changes that to storing consecutive > pointers to the head page in preparation for storing huge pages more > efficiently in i_p