Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578657

Re: [PATCHv6 17/37] fs: make block_read_full_page() be able to read huge page

From Matthew Wilcox <willy@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCHv6 17/37] fs: make block_read_full_page() be able to read huge page
Date 2017-02-10 19:10 +0100
Message-ID <t9nNT-6VN-9@gated-at.bofh.it> (permalink)
References <t3QSB-6QS-5@gated-at.bofh.it> <t3R2j-79n-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 26, 2017 at 02:57:59PM +0300, Kirill A. Shutemov wrote:
> The approach is straight-forward: for compound pages we read out whole
> huge page.

Ouch.  bufferheads must die ;-)

> For huge page we cannot have array of buffer head pointers on stack --
> it's 4096 pointers on x86-64 -- 'arr' is allocated with kmalloc() for
> huge pages.
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCHv6 17/37] fs: make block_read_full_page() be able to read  huge page Matthew Wilcox <willy@infradead.org> - 2017-02-10 19:10 +0100

csiph-web