summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-03-04 21:41:44 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-04-12 03:06:42 +0300
commit5d90070816534882b9158f14154b7e2cdef1194a (patch)
treeff57ad59d100eaba92b197926d88ca504378df30 /scripts/gdb/linux/utils.py
parent88db792bbe9b140680c74e9f2f801ac00f54e05e (diff)
downloadlinux-5d90070816534882b9158f14154b7e2cdef1194a.tar.xz
rcu-tasks: Make Tasks RCU account for userspace execution
The main Tasks RCU quiescent state is voluntary context switch. However, userspace execution is also a valid quiescent state, and is a valuable one for userspace applications that spin repeatedly executing light-weight non-sleeping system calls. Currently, such an application can delay a Tasks RCU grace period for many tens of seconds. This commit therefore enlists the aid of the scheduler-clock interrupt to provide a Tasks RCU quiescent state when it interrupted a task executing in userspace. [ paulmck: Apply feedback from kernel test robot. ] Cc: Martin KaFai Lau <kafai@fb.com> Cc: Neil Spring <ntspring@fb.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions