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: <20150326123028.GM4701@suse.de>
Date:	Thu, 26 Mar 2015 12:30:29 +0000
From:	Mel Gorman <mgorman@...e.de>
To:	Russell King - ARM Linux <linux@....linux.org.uk>
Cc:	Gregory Fong <gregory.0xf0@...il.com>,
	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>,
	Yalin Wang <Yalin.Wang@...ymobile.com>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>, 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 Thu, Mar 26, 2015 at 11:46:12AM +0000, Russell King - ARM Linux wrote:
> <SNIP>
> 
> Looking at Mel's commit, I don't see a reason why we couldn't use that
> solution - it gets rid of walking the page array, which has been fraught
> in the past due to ARM having platforms which have holes in their
> physical memory.
> 
> We could try that solution - I don't see much downside to it.  Most of
> that information is as debug information for MM stuff anyway, and IMHO

>From an MM perspective, I can tell you that the information is close to
useless for debugging anything. It's why I ditched it in that commit and
AFAIK, no one has ever cared.

> 8<===
> From: Russell King <rmk+kernel@....linux.org.uk>
> Subject: [PATCH] ARM: switch to use the generic show_mem() implementation
> 
> Switch ARM to use the generic show_mem() implementation, which displays
> the statistics from the mm zone rather than walking the page arrays.
> 
> Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>

If this builds, boots and sysrq-m works as expected then for what it's worth

Acked-by: Mel Gorman <mgorman <mgorman@...e.de>

-- 
Mel Gorman
SUSE Labs
--
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