aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2020-07-07 17:28:04 +0206
committerJakub Kicinski <[email protected]>2020-07-16 11:40:39 -0700
commit632ca50f2cbd8809a2fc1934b4b2c9c49bd55e98 (patch)
tree17ed0b6ce864b175f2849f7518b7648853618f3c /tools/perf/scripts/python/bin
parent999cf8aeb6c9d4019659efe85ce0594808d071a6 (diff)
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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions