All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] mm-use-page_aligned-instead-of-is_aligned.patch removed from -mm tree
@ 2022-06-17  2:49 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-06-17  2:49 UTC (permalink / raw)
  To: mm-commits, songmuchun, linmiaohe, bh1scw, akpm


The quilt patch titled
     Subject: mm: use PAGE_ALIGNED instead of IS_ALIGNED
has been removed from the -mm tree.  Its filename was
     mm-use-page_aligned-instead-of-is_aligned.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: Fanjun Kong <bh1scw@gmail.com>
Subject: mm: use PAGE_ALIGNED instead of IS_ALIGNED
Date: Thu, 26 May 2022 22:02:57 +0800

<linux/mm.h> already provides the PAGE_ALIGNED macro.  Let's use this
macro instead of IS_ALIGNED and passing PAGE_SIZE directly.

Link: https://lkml.kernel.org/r/20220526140257.1568744-1-bh1scw@gmail.com
Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/sparse-vmemmap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/sparse-vmemmap.c~mm-use-page_aligned-instead-of-is_aligned
+++ a/mm/sparse-vmemmap.c
@@ -200,8 +200,8 @@ static int vmemmap_remap_range(unsigned
 	unsigned long next;
 	pgd_t *pgd;
 
-	VM_BUG_ON(!IS_ALIGNED(start, PAGE_SIZE));
-	VM_BUG_ON(!IS_ALIGNED(end, PAGE_SIZE));
+	VM_BUG_ON(!PAGE_ALIGNED(start));
+	VM_BUG_ON(!PAGE_ALIGNED(end));
 
 	pgd = pgd_offset_k(addr);
 	do {
_

Patches currently in -mm which might be from bh1scw@gmail.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-17  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17  2:49 [merged mm-stable] mm-use-page_aligned-instead-of-is_aligned.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.