diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-04-07 10:56:11 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-12 08:42:28 -0700 |
| commit | d48df7e7c3fb456d2dc907707a124dab8462eb19 (patch) | |
| tree | 3632b0ec69d1ee2cdb5a0200b4a9701754d5f547 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 9bc29a87fbc647db5f08643403d59f094d19298e (diff) | |
net: wangxun: replace busy-wait reset flag with kernel mutex
Replace the busy-wait loop using test_and_set_bit(WX_STATE_RESETTING)
with a proper per-device mutex to serialize reset operations.
The reset flag is reserved for other code paths (like watchdog), which
need tocheck if a reset is in process.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260407025616.33652-5-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
