John Ogness 632ca50f2c af_packet: TPACKET_V3: replace busy-wait loop
A busy-wait loop is used to implement waiting for bits to be copied
from the skb to the kernel buffer before retiring a block. This is
a problem on PREEMPT_RT because the copying task could be preempted
by the busy-waiting task and thus live lock in the busy-wait loop.

Replace the busy-wait logic with an rwlock_t. This provides lockdep
coverage and makes the code RT ready.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-07-16 11:40:39 -07:00
..
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:40 -07:00
2020-07-01 15:49:11 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-06-27 14:00:22 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00