Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753066AbbBXVPR (ORCPT ); Tue, 24 Feb 2015 16:15:17 -0500 Received: from mail-we0-f177.google.com ([74.125.82.177]:44809 "EHLO mail-we0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752990AbbBXVPL convert rfc822-to-8bit (ORCPT ); Tue, 24 Feb 2015 16:15:11 -0500 From: Michal Nazarewicz To: Stefan Strogin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Stefan Strogin , Joonsoo Kim , Andrew Morton , Marek Szyprowski , 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 Subject: Re: [PATCH v3 2/4] mm: cma: add number of pages to debug message in cma_release() In-Reply-To: Organization: http://mina86.com/ References: User-Agent: Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd;KFrfMCylc}gc??'U2j,!8%xdD Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-Hashcash: 1:20:150224:pavel@ucw.cz::TTjVwlRb2auB1uhN:0000008RV X-Hashcash: 1:20:150224:v.tyrtov@samsung.com::t6+7znNbSjxJurco:000000000000000000000000000000000000000000Kr3 X-Hashcash: 1:20:150224:aneesh.kumar@linux.vnet.ibm.com::Ngeqem6WA4iJZsE8:0000000000000000000000000000000SLv X-Hashcash: 1:20:150224:d.safonov@partner.samsung.com::w09DDd2E43Ba18xs:000000000000000000000000000000001CCN X-Hashcash: 1:20:150224:pintu.k@samsung.com::PZ4+BsKQ8yqfXgiX:0000000000000000000000000000000000000000000y1v X-Hashcash: 1:20:150224:laurent.pinchart@ideasonboard.com::EMjxCPpuD/vJbWgJ:00000000000000000000000000000ypq X-Hashcash: 1:20:150224:m.szyprowski@samsung.com::IsK+dBVRo0YxndGb:00000000000000000000000000000000000000x4l X-Hashcash: 1:20:150224:gioh.kim@lge.com::2QDyBJ8gOvd3xB6L:01Awp X-Hashcash: 1:20:150224:minchan@kernel.org::WjddYYaCdzZYCjsB:00000000000000000000000000000000000000000001/mu X-Hashcash: 1:20:150224:stefan.strogin@gmail.com::n99M825gg5MHTeTe:00000000000000000000000000000000000001eDG X-Hashcash: 1:20:150224:s.strogin@partner.samsung.com::m/p/S0/BHva//2dP:000000000000000000000000000000002d6c X-Hashcash: 1:20:150224:a.mateosian@samsung.com::TNILBjeDVAovvVG1:000000000000000000000000000000000000002gfw X-Hashcash: 1:20:150224:akpm@linux-foundation.org::OsuSB98ygv8rkDfQ:0000000000000000000000000000000000003D67 X-Hashcash: 1:20:150224:s.strogin@partner.samsung.com::1v+5IGS6/BSyPA/R:000000000000000000000000000000003Pn/ X-Hashcash: 1:20:150224:sasha.levin@oracle.com::ZnOa6UAp6TMC9LwK:0000000000000000000000000000000000000002Ps8 X-Hashcash: 1:20:150224:sj38.park@gmail.com::ryr4VsBbRgPvMQdi:0000000000000000000000000000000000000000004Crx X-Hashcash: 1:20:150224:weijie.yang@samsung.com::eba3BGHKXhc5EGWb:000000000000000000000000000000000000005dmO X-Hashcash: 1:20:150224:s.dyasly@samsung.com::gp5V/tHjesatAgE7:000000000000000000000000000000000000000005N7w X-Hashcash: 1:20:150224:gregory.0xf0@gmail.com::2qYm5iVoJdPfFiZ9:0000000000000000000000000000000000000006Mt2 X-Hashcash: 1:20:150224:linux-kernel@vger.kernel.org::vG5fTmZkiugrBrjx:0000000000000000000000000000000009pjh X-Hashcash: 1:20:150224:zhuhui@xiaomi.com::5SqOOB/WaIRiqVdK:000000000000000000000000000000000000000000006wJv X-Hashcash: 1:20:150224:iamjoonsoo.kim@lge.com::KPFFbtTh1jkF4MQx:0000000000000000000000000000000000000006mcj X-Hashcash: 1:20:150224:linux-mm@kvack.org::szGuT2GZwVs9PmWC:00000000000000000000000000000000000000000007qjK X-Hashcash: 1:20:150224:lauraa@codeaurora.org::GoCQDrgemtOf0Q+X:0000000000000000000000000000000000000000D49l Date: Tue, 24 Feb 2015 22:15:07 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 39 On Tue, Feb 24 2015, Stefan Strogin wrote: > 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 3a63c96..111bf62 100644 > --- a/mm/cma.c > +++ b/mm/cma.c > @@ -434,7 +434,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 > -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +------ooO--(_)--Ooo-- -- 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/