diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-09 15:50:16 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-30 16:03:39 -0700 |
commit | a0ef9ec24144799b5b47fa54c38f9a0f9dfe9a59 (patch) | |
tree | a318be5c9dee9890d883744e8abbd7fc49101d7b /sound | |
parent | 92aa39e9dc77481b90cbef25e547d66cab901496 (diff) | |
download | linux-a0ef9ec24144799b5b47fa54c38f9a0f9dfe9a59.tar.gz linux-a0ef9ec24144799b5b47fa54c38f9a0f9dfe9a59.tar.bz2 linux-a0ef9ec24144799b5b47fa54c38f9a0f9dfe9a59.zip |
rcu: Provide improved interrupt-from-idle check in rcu_check_callbacks()
The patch making need_resched() respond to urgent RCU-QS needs used
is_idle_task(current) to detect an interrupt from idle, which does work
reasonably, but is (in theory at least) vulnerable to loops containing
need_resched() invoked from within RCU_NONIDLE() or its tracepoint
equivalent. This commit therefore moves rcu_is_cpu_rrupt_from_idle()
to a place from which rcu_check_callbacks() can invoke it and replaces
the is_idle_task(current) with rcu_is_cpu_rrupt_from_idle().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions