Re: [PATCHv6 08/37] filemap: handle huge pages in do_generic_file_read()

From: Matthew Wilcox
Date: Mon Feb 13 2017 - 11:11:50 EST


On Mon, Feb 13, 2017 at 08:01:17AM -0800, Matthew Wilcox wrote:
> On Mon, Feb 13, 2017 at 06:33:42PM +0300, Kirill A. Shutemov wrote:
> > No. pagecache_get_page() returns subpage. See description of the first
> > patch.

Oh, I re-read patch 1 and it made sense now. I missed the bit where
pagecache_get_page() called page_subpage().