From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f71.google.com (mail-it0-f71.google.com [209.85.214.71]) by kanga.kvack.org (Postfix) with ESMTP id F2B0A6B0033 for ; Thu, 7 Dec 2017 15:15:29 -0500 (EST) Received: by mail-it0-f71.google.com with SMTP id o66so274020ita.3 for ; Thu, 07 Dec 2017 12:15:29 -0800 (PST) Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net. [2001:558:fe21:29:69:252:207:35]) by mx.google.com with ESMTPS id c70si4588357ioa.57.2017.12.07.12.15.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 12:15:29 -0800 (PST) Date: Thu, 7 Dec 2017 14:15:27 -0600 (CST) From: Christopher Lameter Subject: Re: [PATCH] mm/slab: Do not hash pointers when debugging slab In-Reply-To: Message-ID: References: <1512641861-5113-1-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Kees Cook Cc: Geert Uytterhoeven , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , "Tobin C . Harding" , Linux-MM , LKML , Linus Torvalds On Thu, 7 Dec 2017, Kees Cook wrote: > > These SLAB config options are only used for testing so this is ok. > > Most systems use SLUB so I can't say how common CONFIG_DEBUG_SLAB is. > (Though, FWIW with SLUB, CONFIG_SLUB_DEBUG is very common.) CONFIG_SLUB_DEBUG is on by default because it compiles into the kernel the runtime configurable debugging framework. It does not activate any debugging. CONFIG_SLUB_DEBUG_ON is the equivalent to CONFIG_SLAB_DEBUG. The kernel will boot with debugging on without any extra kernel options with these. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org