--- 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, count, ret); cma_debug_show_areas(cma); }