summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorStefan Roesch <shr@devkernel.io>2024-02-06 19:30:04 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-09 21:01:09 +0300
commitb4e8ae5c8c41355791a99fdf2fcac16deace1e79 (patch)
tree55ed513ebda7694ab10ee3cf3475e944b725fb52 /tools/perf/scripts/python/task-analyzer.py
parent13d381b440ed84ec4cc92975de035efb1a9e5f7e (diff)
downloadlinux-b4e8ae5c8c41355791a99fdf2fcac16deace1e79.tar.xz
net: add napi_busy_loop_rcu()
This adds the napi_busy_loop_rcu() function. This function assumes that the calling function is already holding the rcu read lock and napi_busy_loop() does not need to take the rcu read lock. Add a NAPI_F_NO_SCHED flag, which tells __napi_busy_loop() to abort if we need to reschedule rather than drop the RCU read lock and reschedule. Signed-off-by: Stefan Roesch <shr@devkernel.io> Link: https://lore.kernel.org/r/20230608163839.2891748-3-shr@devkernel.io Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions