Thread (19 messages) flat view 19 messages, 5 authors, 2011-03-01

Re: IGMP and rwlock: Dead ocurred again on TILEPro

From: David Miller <davem@davemloft.net>
Date: 2011-02-17 22:52:58
Also in: lkml

From: Chris Metcalf <redacted>
Date: Thu, 17 Feb 2011 17:49:46 -0500
The fix is to disable interrupts for the arch_read_lock family of methods. 
How does that help handle the race when it happens between different
cpus, instead of between IRQ and non-IRQ context on the same CPU?

Why don't you just use the generic spinlock based rwlock code on Tile,
since that is all that your atomic instructions can handle
sufficiently?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help