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@xxxxxxxxxxxxxxx> Reviewed-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>