Home
last modified time | relevance | path

Searched hist:ea819867b788728aca60717e4fdacb3df771f670 (Results 1 – 3 of 3) sorted by relevance

/linux/net/rds/
H A Dib_rdma.cdiff ea819867b788728aca60717e4fdacb3df771f670 Thu Jul 15 21:34:33 CEST 2010 Zach Brown <zach.brown@oracle.com> RDS/IB: protect the list of IB devices

The RDS IB device list wasn't protected by any locking. Traversal in
both the get_mr and FMR flushing paths could race with additon and
removal.

List manipulation is done with RCU primatives and is protected by the
write side of a rwsem. The list traversal in the get_mr fast path is
protected by a rcu read critical section. The FMR list traversal is
more problematic because it can block while traversing the list. We
protect this with the read side of the rwsem.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
H A Dib.hdiff ea819867b788728aca60717e4fdacb3df771f670 Thu Jul 15 21:34:33 CEST 2010 Zach Brown <zach.brown@oracle.com> RDS/IB: protect the list of IB devices

The RDS IB device list wasn't protected by any locking. Traversal in
both the get_mr and FMR flushing paths could race with additon and
removal.

List manipulation is done with RCU primatives and is protected by the
write side of a rwsem. The list traversal in the get_mr fast path is
protected by a rcu read critical section. The FMR list traversal is
more problematic because it can block while traversing the list. We
protect this with the read side of the rwsem.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
H A Dib.cdiff ea819867b788728aca60717e4fdacb3df771f670 Thu Jul 15 21:34:33 CEST 2010 Zach Brown <zach.brown@oracle.com> RDS/IB: protect the list of IB devices

The RDS IB device list wasn't protected by any locking. Traversal in
both the get_mr and FMR flushing paths could race with additon and
removal.

List manipulation is done with RCU primatives and is protected by the
write side of a rwsem. The list traversal in the get_mr fast path is
protected by a rcu read critical section. The FMR list traversal is
more problematic because it can block while traversing the list. We
protect this with the read side of the rwsem.

Signed-off-by: Zach Brown <zach.brown@oracle.com>