On Wed, 9 May 2007, Nick Piggin wrote: > SLAB_DESTROY_BY_RCU is quite a nice way to mitigate some RCU freeing > overheads for small objects, so I'd expect it may see wider use in > future. Maybe all those users would be fine too, but it's a bit nasty > to have already tricky RCU semantics deviate... Signal handling is using RCU too right? > > I think if we want RCU to actually work, we want to run ->dtor in > > __kmem_cache_free? > > Yeah, thinko... thanks. According to SLAB code: RCU cannot have a dtor. kmem_cache_create() if (flags & SLAB_DESTROY_BY_RCU) BUG_ON(dtor); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Christoph Lameter <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Matt Mackall <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Christoph Lameter <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: David Miller <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Nick Piggin <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Matt Mackall <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- From: Nick Piggin <[email protected]>
- Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- Prev by Date: Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- Next by Date: Remove an unused variable from get_unmapped_area()
- Previous by thread: Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- Next by thread: Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree
- Index(es):