summaryrefslogtreecommitdiff
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-03-04 10:41:44 -0800
committerPaul E. McKenney <paulmck@kernel.org>2022-04-11 17:06:42 -0700
commit5d90070816534882b9158f14154b7e2cdef1194a (patch)
treeff57ad59d100eaba92b197926d88ca504378df30 /kernel/pid.c
parent88db792bbe9b140680c74e9f2f801ac00f54e05e (diff)
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 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions