Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Mundt <lethal@...>, Pekka Enberg <penberg@...>, Christoph Lameter <clameter@...>, <linux-kernel@...>, <mpm@...>, <dhowells@...>
Date: Thursday, May 22, 2008 - 12:43 am

Hi Paul,

Paul Mundt wrote:

Well, we should really be calling ksize() in the nommu case and although 
Matt and Christoph don't seem to agree with me here, I'd much rather 
have *all* allocators set PageSlab for all the pages they return (yes, 
including pass-through ones) to get us back where we were with SLAB. We 
currently don't have any means to see whether an arbitrary page is part 
of the slab or not and I'd argue that's PageSlab is an established API 
(that makes sense).

Furthermore, if ksize() in SLOB doesn't work for kmem_cache_alloc() 
pages, I think it should be fixed as well.

			Pekka
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Pekka J Enberg, (Wed May 21, 2:25 pm)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Christoph Lameter, (Thu May 22, 12:17 am)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Pekka Enberg, (Thu May 22, 12:43 am)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Christoph Lameter, (Thu May 22, 12:51 pm)