From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by ozlabs.org (Postfix) with SMTP id C9D302C00C9 for ; Wed, 4 Jul 2012 04:48:07 +1000 (EST) Date: Tue, 3 Jul 2012 13:48:01 -0500 (CDT) From: Christoph Lameter To: Li Zhong Subject: Re: [PATCH powerpc 2/2] kfree the cache name of pgtable cache if SLUB is used In-Reply-To: <1340618099.13778.39.camel@ThinkPad-T420> Message-ID: References: <1340617984.13778.37.camel@ThinkPad-T420> <1340618099.13778.39.camel@ThinkPad-T420> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: LKML , Pekka Enberg , linux-mm , Paul Mackerras , Matt Mackall , PowerPC email list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 25 Jun 2012, Li Zhong wrote: > This patch tries to kfree the cache name of pgtables cache if SLUB is > used, as SLUB duplicates the cache name, and the original one is leaked. SLAB also does not free the name. Why would you have an #ifdef in there?