Eric Dumazet <dada1@cosmosbay.com> wrote: > > [PATCH] Add atomic_long_xchg() and atomic_long_cmpxchg() wrappers > > ... > > +static inline long atomic_long_xchg(atomic_long_t *l, long val) > +{ > + atomic64_t *v = (atomic64_t *)l; > + return atomic64_xchg(v, val); All we need now is some implementations of atomic64_xchg() ;) - 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/
- 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: Andrew Morton <akpm@osdl.org>
- Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- From: Eric Dumazet <dada1@cosmosbay.com>
- [patch 0/4] net: Percpufy frequently used variables on struct proto
- Prev by Date: Re: [patch 3/4] net: Percpufy frequently used variables -- proto.sockets_allocated
- Next by Date: 25ms latency for msleep() and NAPI rx_schedule()/poll()
- 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):
![]() |