[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1712070512120.7218@nuc-kabylake>
Date: Thu, 7 Dec 2017 05:13:56 -0600 (CST)
From: Christopher Lameter <cl@...ux.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
cc: Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
"Tobin C . Harding" <me@...in.cc>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] mm/slab: Do not hash pointers when debugging slab
On Thu, 7 Dec 2017, Geert Uytterhoeven wrote:
> If CONFIG_DEBUG_SLAB/CONFIG_DEBUG_SLAB_LEAK are enabled, the slab code
> prints extra debug information when e.g. corruption is detected.
> This includes pointers, which are not very useful when hashed.
>
> Fix this by using %px to print unhashed pointers instead.
Acked-by: Christoph Lameter <cl@...ux.com>
These SLAB config options are only used for testing so this is ok.
Powered by blists - more mailing lists