It's more useful to print address and number of pages which are being released,
not olny address.

Signed-off-by: Stefan Strogin <[email protected]>
---
 mm/cma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/cma.c b/mm/cma.c
index 95e8121..c68d383 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -467,7 +467,7 @@ bool cma_release(struct cma *cma, struct page *pages, int 
count)
        if (!cma || !pages)
                return false;
 
-       pr_debug("%s(page %p)\n", __func__, (void *)pages);
+       pr_debug("%s(page %p, count %d)\n", __func__, (void *)pages, count);
 
        pfn = page_to_pfn(pages);
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to