summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/xdp_metadata.c
diff options
context:
space:
mode:
authorZqiang <qiang.zhang1211@gmail.com>2023-11-03 10:26:39 +0300
committerNeeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>2023-11-23 09:28:18 +0300
commit90f1015dfee3d33f8ca7bfe03296d100d465e385 (patch)
treebf153873f47f2cadf5b216eee40e9c47328a8519 /tools/testing/selftests/bpf/prog_tests/xdp_metadata.c
parentaf19a2526cba92082723b98fcf191a595054a952 (diff)
downloadlinux-90f1015dfee3d33f8ca7bfe03296d100d465e385.tar.xz
rcutorture: Add fqs_holdoff check before fqs_task is created
For rcutorture tests on RCU implementations that support force-quiescent-state operations and that set the fqs_duration module parameter greater than zero, the fqs_task kthread will be created. However, if the fqs_holdoff module parameter is not set, then its default value of zero will cause fqs_task enter a long-term busy loop until stopped by kthread_stop(). This commit therefore adds a fqs_holdoff check before the fqs_task is created, making sure that whenever the fqs_task is created, the fqs_holdoff will be greater than zero. Signed-off-by: Zqiang <qiang.zhang1211@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp_metadata.c')
0 files changed, 0 insertions, 0 deletions