[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070512013325.GB27172@linux-sh.org>
Date: Sat, 12 May 2007 10:33:25 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: clameter@....com
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Pekka Enberg <penberg@...helsinki.fi>
Subject: Re: [patch 2/2] Slab allocators: Drop support for destructors
On Fri, May 11, 2007 at 09:57:51AM -0700, clameter@....com 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
> http://marc.info/?l=linux-kernel&m=117882364330705&w=2
>
> 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 <penberg@...helsinki.fi>
> Cc: Paul Mundt <lethal@...ux-sh.org>
> Signed-off-by: Christoph Lameter <clameter@....com>
>
Acked-by: Paul Mundt <lethal@...ux-sh.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists