mm-kfence-use-page_aligned-helper.patch removed from -mm tree
The quilt patch titled
Subject: mm: kfence: use PAGE_ALIGNED helper
has been removed from the -mm tree. Its filename was
mm-kfence-use-page_aligned-helper.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: kfence: use PAGE_ALIGNED helper
Date: Fri, 20 May 2022 10:18:33 +0800
Use PAGE_ALIGNED macro instead of IS_ALIGNED and passing PAGE_SIZE.
Signed-off-by Kefeng Wang <[email protected]>
Acked-by Muchun Song <[email protected]>
Cc Marco Elver <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/kfence/kfence_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
mm/kfence/kfence_test.c renamed from mm/kfence/kfence_test.c~mm-kfence-use-page_aligned-helper +2 -3
@@ -296,10 +296,9 @@ static void *test_alloc(struct kunit *teif (policy ==ALLOCATE_ANY )return alloc; -if (policy ==ALLOCATE_LEFT &&IS_ALIGNED ((unsigned long )alloc,PAGE_SIZE )) +if (policy ==ALLOCATE_LEFT &&PAGE_ALIGNED (alloc))return alloc; -if (policy ==ALLOCATE_RIGHT && - !IS_ALIGNED ((unsigned long )alloc,PAGE_SIZE )) +if (policy ==ALLOCATE_RIGHT && !PAGE_ALIGNED (alloc))return alloc; }else if (policy ==ALLOCATE_NONE )return alloc;
_
Patches currently in -mm which might be from [email protected] are
mm-kasan-fix-input-of-vmalloc_to_page.patch