diff options
author | 2022-09-07 14:08:43 +0800 | |
---|---|---|
committer | 2022-10-03 14:03:04 -0700 | |
commit | 5f7fa13fa858c17580ed513bd5e0a4b36d68fdd6 (patch) | |
tree | 8204ee6892cde25ee0b4831475a3a5c1c231f98e /mm/compaction.c | |
parent | mm: reuse pageblock_start/end_pfn() macro (diff) | |
download | linux-5f7fa13fa858c17580ed513bd5e0a4b36d68fdd6.tar.gz linux-5f7fa13fa858c17580ed513bd5e0a4b36d68fdd6.tar.bz2 linux-5f7fa13fa858c17580ed513bd5e0a4b36d68fdd6.zip |
mm: add pageblock_align() macro
Add pageblock_align() macro and use it to simplify code.
Link: https://lkml.kernel.org/r/20220907060844.126891-2-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions