* [merged mm-stable] mm-make-dump_page-take-a-const-argument.patch removed from -mm tree
@ 2024-03-06 21:05 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-03-06 21:05 UTC (permalink / raw)
To: mm-commits, david, willy, akpm
The quilt patch titled
Subject: mm: make dump_page() take a const argument
has been removed from the -mm tree. Its filename was
mm-make-dump_page-take-a-const-argument.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: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Subject: mm: make dump_page() take a const argument
Date: Tue, 27 Feb 2024 19:23:32 +0000
Now that __dump_page() takes a const argument, we can make dump_page()
take a const struct page too.
Link: https://lkml.kernel.org/r/20240227192337.757313-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mmdebug.h | 2 +-
mm/debug.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/include/linux/mmdebug.h~mm-make-dump_page-take-a-const-argument
+++ a/include/linux/mmdebug.h
@@ -10,7 +10,7 @@ struct vm_area_struct;
struct mm_struct;
struct vma_iterator;
-void dump_page(struct page *page, const char *reason);
+void dump_page(const struct page *page, const char *reason);
void dump_vma(const struct vm_area_struct *vma);
void dump_mm(const struct mm_struct *mm);
void vma_iter_dump_tree(const struct vma_iterator *vmi);
--- a/mm/debug.c~mm-make-dump_page-take-a-const-argument
+++ a/mm/debug.c
@@ -149,7 +149,7 @@ dump:
__dump_folio(foliop, &precise, pfn, idx);
}
-void dump_page(struct page *page, const char *reason)
+void dump_page(const struct page *page, const char *reason)
{
if (PagePoisoned(page))
pr_warn("page:%p is uninitialized and poisoned", page);
_
Patches currently in -mm which might be from willy@infradead.org are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-06 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 21:05 [merged mm-stable] mm-make-dump_page-take-a-const-argument.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.