Eric wrote: > struct kmem_cache itself will be about 512*8 + some bytes > then for each cpu a 'struct array_cache' will be allocated (count 128 bytes Hmmm ... 'struct array_cache' looks to be about 6 integer words, so if that is the main per-CPU cost, the minimal cost of a slab cache (once created, before use) is about 24 bytes per cpu. But whether its 24 or 128 bytes per cpu, that's a heavier weight hammer than is needed here. Time for me to learn more about rcu. Thanks for raising this issue. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[email protected]> 1.925.600.0401 - 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] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- References:
- [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Andrew Morton <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Paul Jackson <[email protected]>
- Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- From: Eric Dumazet <[email protected]>
- [PATCH] Cpuset: rcu optimization of page alloc hook
- Prev by Date: Re: [PATCH] i386: GPIO driver for AMD CS5535/CS5536
- Next by Date: Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation
- Previous by thread: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Next by thread: Re: [PATCH] Cpuset: rcu optimization of page alloc hook
- Index(es):