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@xxxxxxxxxxxxxx> 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@xxxxxxxxxx Signed-off-by: Patrick Daly <pdaly@xxxxxxxxxxxxxx> Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx> Acked-by: Minchan Kim <minchan@xxxxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxx are mm-cma-print-region-name-on-failure.patch mm-cma-print-region-name-on-failure-v2.patch