]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mempolicy: use PAGE_ALIGN instead of open-coding it
authorze zuo <zuoze1@huawei.com>
Tue, 13 Sep 2022 01:55:05 +0000 (01:55 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:15 +0000 (14:03 -0700)
commit04577e88cc1e3bddacf9831e2acefc01b49943a3
treefcd52cb5dc3e34c5203b28c03a22b400cee542d0
parente7a1bada3ee4c1635504be6ae1ae4c4e88ebd9f6
mm/mempolicy: use PAGE_ALIGN instead of open-coding it

Replace the simple calculation with PAGE_ALIGN.

Link: https://lkml.kernel.org/r/20220913015505.1998958-1-zuoze1@huawei.com
Signed-off-by: ze zuo <zuoze1@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempolicy.c