* [merged mm-stable] mm-page_owner-cma-show-pfn-in-cma-page_onwer-with-hex-format.patch removed from -mm tree
@ 2023-06-19 23:23 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-06-19 23:23 UTC (permalink / raw)
To: mm-commits, vbabka, minchan, iamjoonsoo.kim, quic_yingangl, akpm
The quilt patch titled
Subject: mm/page_owner/cma: show pfn in cma/page_owner with hex format
has been removed from the -mm tree. Its filename was
mm-page_owner-cma-show-pfn-in-cma-page_onwer-with-hex-format.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: Kassey Li <quic_yingangl@quicinc.com>
Subject: mm/page_owner/cma: show pfn in cma/page_owner with hex format
Date: Tue, 13 Jun 2023 17:25:33 +0800
cma: display pfn as well as pfn_to_page(pfn)
page_owner: display pfn in hex rather than decimal
Link: https://lkml.kernel.org/r/20230613092533.15449-1-quic_yingangl@quicinc.com
Signed-off-by: Kassey Li <quic_yingangl@quicinc.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/cma.c | 4 ++--
mm/page_owner.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/mm/cma.c~mm-page_owner-cma-show-pfn-in-cma-page_onwer-with-hex-format
+++ a/mm/cma.c
@@ -483,8 +483,8 @@ struct page *cma_alloc(struct cma *cma,
if (ret != -EBUSY)
break;
- pr_debug("%s(): memory range at %p is busy, retrying\n",
- __func__, pfn_to_page(pfn));
+ pr_debug("%s(): memory range at pfn 0x%lx %p is busy, retrying\n",
+ __func__, pfn, pfn_to_page(pfn));
trace_cma_alloc_busy_retry(cma->name, pfn, pfn_to_page(pfn),
count, align);
--- a/mm/page_owner.c~mm-page_owner-cma-show-pfn-in-cma-page_onwer-with-hex-format
+++ a/mm/page_owner.c
@@ -418,7 +418,7 @@ print_page_owner(char __user *buf, size_
pageblock_mt = get_pageblock_migratetype(page);
page_mt = gfp_migratetype(page_owner->gfp_mask);
ret += scnprintf(kbuf + ret, count - ret,
- "PFN %lu type %s Block %lu type %s Flags %pGp\n",
+ "PFN 0x%lx type %s Block %lu type %s Flags %pGp\n",
pfn,
migratetype_names[page_mt],
pfn >> pageblock_order,
_
Patches currently in -mm which might be from quic_yingangl@quicinc.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-19 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 23:23 [merged mm-stable] mm-page_owner-cma-show-pfn-in-cma-page_onwer-with-hex-format.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.