From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 20 May 2008 18:52:03 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] nommu: Push kobjsize() slab-specific logic down to ksize(). In-Reply-To: <20080521011925.GB24455@linux-sh.org> Message-ID: References: <20080520095935.GB18633@linux-sh.org> <2373.1211296724@redhat.com> <1211307820.18026.190.camel@calx> <1211310023.18026.210.camel@calx> <1211310896.18026.214.camel@calx> <1211318557.18026.215.camel@calx> <20080521011925.GB24455@linux-sh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Paul Mundt Cc: Matt Mackall , David Howells , Pekka Enberg , linux-mm@kvack.org List-ID: On Wed, 21 May 2008, Paul Mundt wrote: > Having WARN_ON()'s for !PageSlab() pages in ksize() in SLAB/SLUB would > make these cases more visible, at least. SLUB/SLOB do not mark objects allocated via pass through to the page allocators with PageSlab. WARN_ON would give false positives. -- 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