Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752839AbbBLWRF (ORCPT ); Thu, 12 Feb 2015 17:17:05 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:28719 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752657AbbBLWRB (ORCPT ); Thu, 12 Feb 2015 17:17:01 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-5c-54dd25c8869e From: Stefan Strogin To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Stefan Strogin , Joonsoo Kim , Andrew Morton , Marek Szyprowski , Michal Nazarewicz , aneesh.kumar@linux.vnet.ibm.com, Laurent Pinchart , Dmitry Safonov , Pintu Kumar , Weijie Yang , Laura Abbott , SeongJae Park , Hui Zhu , Minchan Kim , Dyasly Sergey , Vyacheslav Tyrtov , gregory.0xf0@gmail.com, sasha.levin@oracle.com, gioh.kim@lge.com, pavel@ucw.cz, stefan.strogin@gmail.com Subject: [PATCH 3/4] mm: cma: add number of pages to debug message in cma_release() Date: Fri, 13 Feb 2015 01:15:43 +0300 Message-id: <343ef6ddea30d62ca001f84a8febbb311a1ac2da.1423777850.git.s.strogin@partner.samsung.com> X-Mailer: git-send-email 2.1.0 In-reply-to: References: In-reply-to: References: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42I5/e/4Zd0TqndDDOY+V7OYs34Nm8Xj1/NY LD6tfMpm8azpC6PFtOkbWC1WdjezWWzvnMFu0TlxCbvF5V1z2CzurfnParH2yF12iwXHW1gt ln19z25x99RRNou+74fZLSbPlrL4dnIOs8XiI7eZLa7t6GeyuPzmP7vF1Bk/2C1ObjjLarGh mctB3ONyXy+Tx85Zd9k9ZnfMZPXYtKqTzWPTp0nsHl1vrzB5nJjxm8XjwaHNLB7r/rxi8vj4 9BaLx8F3e5g8+rasYvRYsfo7u8fnTXIeXRt/sQbwR3HZpKTmZJalFunbJXBl9Hy9yV7QyFrR 2HyTsYGxmaWLkZNDQsBEYlXrNiYIW0ziwr31bF2MXBxCAksZJfZfPcwO4fQySTz5OY0RpIoN qOPYhelgtgiQvbt5LiNIEbNAG5vErat7mEESwgKhEndudoOtYBFQlZh7cy1YnFcgVeLKp2nM EOvkJDbs/g82iFPAUWLn2UdgcSEBB4nZz74z4RKfwMi/gJFhFaNoamlyQXFSeq6RXnFibnFp Xrpecn7uJkZIJH7dwbj0mNUhRgEORiUe3he5d0KEWBPLiitzDzFKcDArifCqfwQK8aYkVlal FuXHF5XmpBYfYmTi4JRqYORS+ebPIbSoRvoc17Ms25ZLs96ayC9XaL88tzT8YcZ9Vlcuv2mT L/C51d74KjLjysPpJjoXF9ROPrTuWdu6R9ZL5Cq5X1he+7y3qmjn3pA1MzP2zp/n7jmxO9XY dV/1wcXr/0eINWjP+PKdW/jkZJPPBzNv/rhlF9BwZpPmqyL3ypx2gctypr+VWIozEg21mIuK EwGSLhEfogIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 862 Lines: 29 It's more useful to print address and number of pages which are being released, not olny address. Signed-off-by: Stefan Strogin --- 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/