lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413095645.GQ12732@n2100.arm.linux.org.uk>
Date:	Mon, 13 Apr 2015 10:56:45 +0100
From:	Russell King - ARM Linux <linux@....linux.org.uk>
To:	Gregory Fong <gregory.0xf0@...il.com>
Cc:	"Wang, Yalin" <Yalin.Wang@...ymobile.com>,
	Mel Gorman <mgorman@...e.de>,
	Laura Abbott <lauraa@...eaurora.org>,
	Florian Fainelli <f.fainelli@...il.com>,
	Kees Cook <keescook@...omium.org>,
	Nicolas Pitre <nico@...aro.org>,
	Catalin Marinas <catalin.marinas@....com>,
	open list <linux-kernel@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"vishnu.ps@...sung.com" <vishnu.ps@...sung.com>,
	Marek Szyprowski <m.szyprowski@...sung.com>,
	Johannes Weiner <hannes@...xchg.org>
Subject: Re: [PATCH] ARM: print cma-reserved pages from show_mem

On Sun, Apr 12, 2015 at 06:21:15PM -0700, Gregory Fong wrote:
> On Sun, Apr 12, 2015 at 06:09:13PM -0700, Gregory Fong wrote:
> > And now we see 83 slab_reclaimable + 846 slab_unreclaimable adds up
> > correctly to the total of 929.
> > 
> > The patch below will end up with the correct count.
> > 
> 
> Sorry, messed up the patch formatting.  Here it is fixed:

So now the question is: do we fix this, or do we use the generic version?
Given that the total number of slab pages can be easily deduced from the
generic statistics, do we need to modify the generic version to print an
additional line with this?  It seems wasteful to do so, and just adds
more noise to the kernel's debug output.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ