On Mon, Dec 31, 2018 at 05:42:23AM -0800, Matthew Wilcox wrote: > It's unnecessarily hard to find out the size of a potentially huge page. > Replace 'PAGE_SIZE << compound_order(page)' with page_size(page). Good idea. Should we add page_mask() and page_shift() too? -- Kirill A. Shutemov