original_kernel/net/rds
Andy Grover 8cbd9606a6 RDS: Use spinlock to protect 64b value update on 32b archs
We have a 64bit value that needs to be set atomically.
This is easy and quick on all 64bit archs, and can also be done
on x86/32 with set_64bit() (uses cmpxchg8b). However other
32b archs don't have this.

I actually changed this to the current state in preparation for
mainline because the old way (using a spinlock on 32b) resulted in
unsightly #ifdefs in the code. But obviously, being correct takes
precedence.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-02 00:52:22 -07:00
..
Kconfig
Makefile
af_rds.c
bind.c
cong.c
connection.c
ib.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
ib.h RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
ib_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
ib_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
ib_recv.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
ib_ring.c
ib_send.c
ib_stats.c
ib_sysctl.c
info.c
info.h
iw.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
iw.h RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
iw_recv.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_ring.c
iw_send.c
iw_stats.c
iw_sysctl.c
loop.c
loop.h
message.c
page.c
rdma.c
rdma.h
rdma_transport.c
rdma_transport.h
rds.h RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
recv.c
send.c
stats.c
sysctl.c
threads.c
transport.c