From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 23 Nov 2018 13:56:44 +0300 From: "Kirill A. Shutemov" To: Matthew Wilcox Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" , Hugh Dickins Subject: Re: [PATCH 2/2] page cache: Store only head pages in i_pages Message-ID: <20181123105643.fxqk7l57rdurdubx@kshutemo-mobl1> References: <20181122213224.12793-1-willy@infradead.org> <20181122213224.12793-3-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181122213224.12793-3-willy@infradead.org> Sender: owner-linux-mm@kvack.org List-ID: 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