Files
linux/net
Andy Grover 049ee3f500 RDS: Change send lock from a mutex to a spinlock
This change allows us to call rds_send_xmit() from a tasklet,
which is crucial to our new operating model.

* Change c_send_lock to a spinlock
* Update stats fields "sem_" to "_lock"
* Remove unneeded rds_conn_is_sending()

About locking between shutdown and send -- send checks if the
connection is up. Shutdown puts the connection into
DISCONNECTING. After this, all threads entering send will exit
immediately. However, a thread could be *in* send_xmit(), so
shutdown acquires the c_send_lock to ensure everyone is out
before proceeding with connection shutdown.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
2010-09-08 18:12:12 -07:00
..
…
2010-08-19 00:14:36 -07:00
2010-08-18 14:26:31 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
…
2010-09-02 10:12:06 -07:00
…
…
…
2010-09-02 09:19:32 -07:00
…
…
2010-09-02 10:04:18 -07:00
2010-08-18 23:35:58 -07:00
…
2010-08-24 14:48:10 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
2010-08-31 14:20:40 -04:00
…
…
…
…