Message ID | 20150413010913.GA15225@corellia.local (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 46247BF4A6 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Apr 2015 01:12:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3EEA420295 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Apr 2015 01:12:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4127420274 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Apr 2015 01:12:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YhSsg-0006Nh-RM; Mon, 13 Apr 2015 01:09:42 +0000 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YhSsd-0006LB-Od for linux-arm-kernel@lists.infradead.org; Mon, 13 Apr 2015 01:09:40 +0000 Received: by paboj16 with SMTP id oj16so85221115pab.0 for <linux-arm-kernel@lists.infradead.org>; Sun, 12 Apr 2015 18:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=kXaXgisy2awTF/WBs1Ahmy5Hi9RzRwMg3VOOmkcE/Ys=; b=SMhMqDwI2qBo/tNLPh1hvKYWU0i5O+Nn+dHf13vYn4tFx9m4/nC3XjUuW6jyoA+cuM RcwvcNIM5zfAIk9nVDRhNHWZsODLxSnLA8WdHbMm94Ea0zXnM8WRpBDp/PReCuZklj6t ZaTv+F1Zdw0IyjcgFIqg4satiYwj/iLreDXwVMarAI2N7TECYvXn7lGkrm72SOXvUddJ +Bs9jzurNGt3YcYONLMhXQn3V126Yv0Fb0duR4h535AViAFdAbxuzyNuLsSu9YHIvEI3 YhdmPkkULWQVja4g0rP+Tpg/Jn9Km+nwASXUYN/rAkMqs7M6rz3eJ6KqoJ9FPSs4Farm URAQ== X-Received: by 10.66.63.7 with SMTP id c7mr22303994pas.13.1428887357306; Sun, 12 Apr 2015 18:09:17 -0700 (PDT) Received: from corellia.local (cpe-98-148-132-5.socal.res.rr.com. [98.148.132.5]) by mx.google.com with ESMTPSA id qp13sm5401172pdb.31.2015.04.12.18.09.15 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 12 Apr 2015 18:09:16 -0700 (PDT) Date: Sun, 12 Apr 2015 18:09:13 -0700 From: Gregory Fong <gregory.0xf0@gmail.com> To: Russell King - ARM Linux <linux@arm.linux.org.uk> Subject: Re: [PATCH] ARM: print cma-reserved pages from show_mem Message-ID: <20150413010913.GA15225@corellia.local> References: <CADtm3G7ROX4CrxSKRvTKcjqCiX=uJQZ=Q5izH8pS61z4jfumLg@mail.gmail.com> <54D534FB.1090101@codeaurora.org> <CADtm3G7CUYUUbmTrWiudQ5j-wX9hu86Ox8TkB+FnXwEvjb=xeg@mail.gmail.com> <20150210113230.GJ8656@n2100.arm.linux.org.uk> <CADtm3G64rPf7O76xUbLwqsqTkJxdGJMT9sHj810xPuThDA0ddg@mail.gmail.com> <20150326114612.GD8656@n2100.arm.linux.org.uk> <20150326123028.GM4701@suse.de> <CADtm3G4Lb=u+BAHZF+O+RgB4VS9iW8epCPJ9ssBTj=+p3+h==Q@mail.gmail.com> <35FD53F367049845BC99AC72306C23D104A310D42397@CNBJMBX05.corpusers.net> <20150410112430.GB12732@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150410112430.GB12732@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150412_180939_868424_C65465E1 X-CRM114-Status: GOOD ( 21.29 ) X-Spam-Score: -0.6 (/) Cc: Florian Fainelli <f.fainelli@gmail.com>, Laura Abbott <lauraa@codeaurora.org>, "Wang, Yalin" <Yalin.Wang@sonymobile.com>, Nicolas Pitre <nico@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, "vishnu.ps@samsung.com" <vishnu.ps@samsung.com>, open list <linux-kernel@vger.kernel.org>, Mel Gorman <mgorman@suse.de>, Johannes Weiner <hannes@cmpxchg.org>, Marek Szyprowski <m.szyprowski@samsung.com>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Kees Cook <keescook@chromium.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 1609b02..8d606bb 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -117,7 +117,7 @@ void show_mem(unsigned int filter) else if (PageSwapCache(page)) cached++; else if (PageSlab(page)) - slab++; + slab += 1 << compound_order(page); else if (!page_count(page)) free++; else