1
0
Fork 0
alistair23-linux/drivers/staging/android/ion
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
..
Kconfig staging: android: ion: Remove file ion_chunk_heap.c 2019-07-03 18:25:07 +02:00
Makefile staging: android: ion: Remove file ion_chunk_heap.c 2019-07-03 18:25:07 +02:00
ion.c staging: android: ion: Remove unused rbtree for ion_buffer 2019-07-25 09:44:36 +02:00
ion.h staging: android: ion: Remove unused rbtree for ion_buffer 2019-07-25 09:44:36 +02:00
ion_cma_heap.c staging: android: ion: Remove leftover comment 2019-01-18 10:42:27 +01:00
ion_heap.c staging: android: ion: Fixup some white-space issues 2019-01-18 10:42:27 +01:00
ion_page_pool.c staging: android: ion: Bail out upon SIGKILL when allocating memory. 2019-07-25 13:11:51 +02:00
ion_system_heap.c mm: introduce page_size() 2019-09-24 15:54:08 -07:00