diff options
| author | Breno Leitao <[email protected]> | 2025-02-19 16:41:20 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-20 21:18:31 +0000 |
| commit | bf3624cf1c3708284c53ed99a1c43f2e104dc2dd (patch) | |
| tree | fcafde1d44311da3150583c5d2ecd41087ef8f98 /net/unix/af_unix.c | |
| parent | Merge branch 'flexible-array-for-ip-tunnel-options' (diff) | |
| download | kernel-bf3624cf1c3708284c53ed99a1c43f2e104dc2dd.tar.gz kernel-bf3624cf1c3708284c53ed99a1c43f2e104dc2dd.zip | |
netdevsim: call napi_schedule from a timer context
The netdevsim driver was experiencing NOHZ tick-stop errors during packet
transmission due to pending softirq work when calling napi_schedule().
This issue was observed when running the netconsole selftest, which
triggered the following error message:
NOHZ tick-stop error: local softirq work is pending, handler #08!!!
To fix this issue, introduce a timer that schedules napi_schedule()
from a timer context instead of calling it directly from the TX path.
Create an hrtimer for each queue and kick it from the TX path,
which then schedules napi_schedule() from the timer context.
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
