mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-cma-print-region-name-on-failure-v2.patch added to -mm tree
@ 2021-02-09 19:18 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-02-09 19:18 UTC (permalink / raw)
  To: david, georgi.djakov, minchan, mm-commits, pdaly, rdunlap


The patch titled
     Subject: mm-cma-print-region-name-on-failure-v2
has been added to the -mm tree.  Its filename is
     mm-cma-print-region-name-on-failure-v2.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-cma-print-region-name-on-failure-v2.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-cma-print-region-name-on-failure-v2.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-v2

print the "count" variable, as it was originally in the code, per Randy

Link: https://lkml.kernel.org/r/20210209142414.12768-1-georgi.djakov@linaro.org
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/cma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/cma.c~mm-cma-print-region-name-on-failure-v2
+++ a/mm/cma.c
@@ -501,7 +501,7 @@ struct page *cma_alloc(struct cma *cma,
 
 	if (ret && !no_warn) {
 		pr_err("%s: %s: alloc failed, req-size: %zu pages, ret: %d\n",
-		       __func__, cma->name, cma->count, ret);
+		       __func__, cma->name, 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
mm-cma-print-region-name-on-failure-v2.patch


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

only message in thread, other threads:[~2021-02-09 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 19:18 + mm-cma-print-region-name-on-failure-v2.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).