From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by kanga.kvack.org (Postfix) with ESMTP id 5930F6B006C for ; Mon, 16 Mar 2015 12:08:18 -0400 (EDT) Received: by obbgg8 with SMTP id gg8so39382813obb.1 for ; Mon, 16 Mar 2015 09:08:18 -0700 (PDT) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com. [210.118.77.11]) by mx.google.com with ESMTPS id m4si23410991pdm.252.2015.03.16.09.08.16 for (version=TLSv1 cipher=RC4-MD5 bits=128/128); Mon, 16 Mar 2015 09:08:17 -0700 (PDT) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NLB00M4UBOHNM00@mailout1.w1.samsung.com> for linux-mm@kvack.org; Mon, 16 Mar 2015 16:12:17 +0000 (GMT) From: Stefan Strogin Subject: [PATCH v4 2/5] mm: cma: add number of pages to debug message in cma_release() Date: Mon, 16 Mar 2015 19:06:57 +0300 Message-id: In-reply-to: References: In-reply-to: References: Sender: owner-linux-mm@kvack.org List-ID: 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 , Aleksei Mateosian , gregory.0xf0@gmail.com, sasha.levin@oracle.com, gioh.kim@lge.com, pavel@ucw.cz, stefan.strogin@gmail.com It's more useful to print address and number of pages which are being released, not only address. Signed-off-by: Stefan Strogin Acked-by: Michal Nazarewicz --- mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/cma.c b/mm/cma.c index 63dfc0e..77960af 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -439,7 +439,7 @@ bool cma_release(struct cma *cma, const struct page *pages, unsigned 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org