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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka Enberg
Date: Thursday, May 22, 2008 - 9:13 am

Hi Matt,

On Thu, May 22, 2008 at 6:01 PM, Matt Mackall <mpm@selenic.com> wrote:

Well, it's a historical fact that ksize() worked for both kmalloc()
and kmem_cache_alloc() (see the kernedoc comment in mm/slab.c).
However, I think we should just look at getting rid of ksize()
altogether as it's only (ab)used by the nommu code and few call-sites
that open-code krealloc().

                       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, 11:25 am)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Christoph Lameter, (Wed May 21, 9:17 pm)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Pekka Enberg, (Thu May 22, 9:13 am)
Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize(), Christoph Lameter, (Thu May 22, 9:51 am)