1
0
Fork 0
alistair23-linux/arch/ia64
Matthew Wilcox (Oracle) a50b854e07 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: Linus Torvalds <torvalds@linux-foundation.org>
2019-09-24 15:54:08 -07:00
..
configs ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
hp/common dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
include Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 16:47:38 -07:00
kernel dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
lib ia64: remove now unused machvec indirections 2019-08-16 11:33:57 -07:00
mm mm: introduce page_size() 2019-09-24 15:54:08 -07:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
scripts ia64: convert unwcheck.py to python3 2018-03-05 14:35:01 -08:00
uv ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
Kconfig Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
Kconfig.debug ia64: remove support for machvecs 2019-08-16 14:32:26 -07:00
Makefile Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
module.lds License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00