On 2022/5/20 18:26, Muchun Song wrote:
On Fri, May 20, 2022 at 10:18:33AM +0800, Kefeng Wang wrote:
Use PAGE_ALIGNED macro instead of IS_ALIGNED and passing PAGE_SIZE.
Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
Acked-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks,
BTW, there is a similar case in page_fixed_fake_head(), woule you like to
improve that as well?
IS_ALIGNED is defined in include/linux/align.h, but PAGE_ALIGNED is in include/linux/mm.h,
so better to keep unchanged in include/linux/page-flags.h.
Thanks.
.