summaryrefslogtreecommitdiff
path: root/mm/zpool.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2019-08-28 13:57:08 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2019-09-01 18:20:14 +1000
commit4d85e3f24a4e0f3f1b1d926db370a2bbd8658768 (patch)
tree35c1ad0933edfbbe2f592db88d8488e916df1896 /mm/zpool.c
parent5cf3805cad7fb419c3da53de9b063dd055a7b3f1 (diff)
downloadlinux-next-4d85e3f24a4e0f3f1b1d926db370a2bbd8658768.tar.gz
mm: introduce page_size()
Patch series "Make working with compound pages easier", v2. These three patches add three helpers and convert the appropriate places to use them. This patch (of 3): It's unnecessarily hard to find out the size of a potentially huge page. Replace 'PAGE_SIZE << compound_order(page)' with page_size(page). Link: http://lkml.kernel.org/r/20190721104612.19120-2-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'mm/zpool.c')
0 files changed, 0 insertions, 0 deletions