diff options
author | Paolo Abeni <pabeni@redhat.com> | 2025-07-17 15:36:23 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-07-17 15:36:23 +0200 |
commit | a96cee9b369ee47b5309311d0d71cb6663b123fc (patch) | |
tree | 02124d211082450e7c8c6a6c6e461eccb37fa900 /tools/testing/selftests/drivers/net/hw/rss_api.py | |
parent | e0c7e3154e042e2210b3a0b37e9129b52f3ae91c (diff) | |
parent | d4f6460a4bc5fa52c04a985b222a719a42c78be6 (diff) |
Merge branch 'ppp-replace-per-cpu-recursion-counter-with-lock-owner-field'
Sebastian Andrzej Siewior says:
====================
ppp: Replace per-CPU recursion counter with lock-owner field
This is another approach to avoid relying on local_bh_disable() for
locking of per-CPU in ppp.
I redid it with the per-CPU lock and local_lock_nested_bh() as discussed
in v1. The xmit_recursion counter has been removed since it served the
same purpose as the owner field. Both were updated and checked.
The xmit_recursion looks like a counter in ppp_channel_push() but at
this point, the counter should always be 0 so it always serves as a
boolean. Therefore I removed it.
I do admit that this looks easier to review.
v2 https://lore.kernel.org/all/20250710162403.402739-1-bigeasy@linutronix.de/
v1 https://lore.kernel.org/all/20250627105013.Qtv54bEk@linutronix.de/
====================
Link: https://patch.msgid.link/20250715150806.700536-1-bigeasy@linutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions