On Tue, 2006-05-09 at 20:25 +0200, Manfred Spraul wrote: > No - it would only make sense if it could be used for all slabs. > Otherwise: How should kfree figure out if it's called for a slab with > embedded pointers or not? Yeah, you're absolutely right. Which is exactly why I asked what you want to do with the OFF_SLAB case. We certainly can support both by virtualizing kfree() and kmem_cache_free() with struct slab_operations type of thing, but that's probably not very performant. Well, it might be for NUMA, as virt_to_page() is so expensive. Anyway, embedding struct kmem_cache pointer in the beginning of slab page is doable (I have a proof-of-concept patch for that btw) but we need to solve OFF_SLAB first. Pekka - 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/
- Follow-Ups:
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- References:
- [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Daniel Hokka Zakrisson <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: "Pekka Enberg" <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: "Pekka Enberg" <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Manfred Spraul <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka J Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Manfred Spraul <[email protected]>
- [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Prev by Date: Re: [openib-general] Re: [PATCH 07/16] ehca: interrupt handling routines
- Next by Date: Re: [dm-crypt] dm-crypt is broken and causes massive data corruption
- Previous by thread: Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Next by thread: Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Index(es):