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

From: Kirill A. Shutemov
Date: Fri Nov 23 2018 - 05:56:52 EST


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_pages.

I probably miss something, I don't see how it wouldn't break
split_huge_page().

I don't see what would replace head pages in i_pages with
formerly-tail-pages?

Hm?

--
Kirill A. Shutemov