Benjamin LaHaise <bcrl@kvack.org> wrote: > > On Sat, Jan 28, 2006 at 01:28:20AM +0100, Eric Dumazet wrote: > > We might use atomic_long_t only (and no spinlocks) > > Something like this ? > > Erk, complex and slow... Try using local_t instead, which is substantially > cheaper on the P4 as it doesn't use the lock prefix and act as a memory > barrier. See asm/local.h. > local_t isn't much use until we get rid of asm-generic/local.h. Bloaty, racy with nested interrupts. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org 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 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Andi Kleen <ak@suse.de>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Benjamin LaHaise <bcrl@kvack.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- References:
- [patch 0/4] net: Percpufy frequently used variables on struct proto
- From: Ravikiran G Thirumalai <kiran@scalex86.org>
- [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Ravikiran G Thirumalai <kiran@scalex86.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Ravikiran G Thirumalai <kiran@scalex86.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Andrew Morton <akpm@osdl.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Ravikiran G Thirumalai <kiran@scalex86.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Andrew Morton <akpm@osdl.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Benjamin LaHaise <bcrl@kvack.org>
- [patch 0/4] net: Percpufy frequently used variables on struct proto
- Prev by Date: Re: -mm seems significanty slower than mainline on kernbench
- Next by Date: 2.6.16-rc1 kernel init oops
- Previous by thread: Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- Next by thread: Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- Index(es):
![]() |