* + mm-cma-print-region-name-on-failure.patch added to -mm tree
@ 2021-02-08 21:05 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-02-08 21:05 UTC (permalink / raw)
To: georgi.djakov, minchan, mm-commits, pdaly
The patch titled
Subject: mm: cma: print region name on failure
has been added to the -mm tree. Its filename is
mm-cma-print-region-name-on-failure.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-cma-print-region-name-on-failure.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-cma-print-region-name-on-failure.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Patrick Daly <pdaly@codeaurora.org>
Subject: mm: cma: print region name on failure
Print the name of the cma region for convienience. This is useful
information to have when cma_alloc() fails.
Link: https://lkml.kernel.org/r/20210208115200.20286-1-georgi.djakov@linaro.org
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/cma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/mm/cma.c~mm-cma-print-region-name-on-failure
+++ a/mm/cma.c
@@ -500,8 +500,8 @@ struct page *cma_alloc(struct cma *cma,
}
if (ret && !no_warn) {
- pr_err("%s: alloc failed, req-size: %zu pages, ret: %d\n",
- __func__, count, ret);
+ pr_err("%s: %s: alloc failed, req-size: %zu pages, ret: %d\n",
+ __func__, cma->name, cma->count, ret);
cma_debug_show_areas(cma);
}
_
Patches currently in -mm which might be from pdaly@codeaurora.org are
mm-cma-print-region-name-on-failure.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-08 21:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 21:05 + mm-cma-print-region-name-on-failure.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).