[lkml]   [2007]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 2/2] Slab allocators: Drop support for destructors
On Fri, May 11, 2007 at 09:57:51AM -0700, wrote:
> There is no user of destructors left. There is no reason why we should
> keep checking for destructors calls in the slab allocators.
> The RFC for this patch was discussed at
> Destructors were mainly used for list management which required them to take a
> spinlock. Taking a spinlock in a destructor is a bit risky since the slab
> allocators may run the destructors anytime they decide a slab is no longer
> needed.
> Patch drops destructor support. Any attempt to use a destructor will BUG().
> Cc: Pekka Enberg <>
> Cc: Paul Mundt <>
> Signed-off-by: Christoph Lameter <>
Acked-by: Paul Mundt <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-05-12 03:37    [W:0.056 / U:1.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site