summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-05-18 07:00:04 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-06-20 19:30:10 +0300
commited4ae5eff4b38797607cbdd80da394149110fb37 (patch)
treeedd53dec6e18c1436a45d2478793359c2def54cf /COPYING
parent245a62982502255314b63dd2c4daaedd1cd595a6 (diff)
downloadlinux-ed4ae5eff4b38797607cbdd80da394149110fb37.tar.xz
rcu: Apply noinstr to rcu_idle_enter() and rcu_idle_exit()
This commit applies the "noinstr" tag to the rcu_idle_enter() and rcu_idle_exit() functions, which are invoked from portions of the idle loop that cannot be instrumented. These tags require reworking the rcu_eqs_enter() and rcu_eqs_exit() functions that these two functions invoke in order to cause them to use normal assertions rather than lockdep. In addition, within rcu_idle_exit(), the raw versions of local_irq_save() and local_irq_restore() are used, again to avoid issues with lockdep in uninstrumented code. This patch is based in part on an earlier patch by Jiri Olsa, discussions with Peter Zijlstra and Frederic Weisbecker, earlier changes by Thomas Gleixner, and off-list discussions with Yonghong Song. Link: https://lore.kernel.org/lkml/20220515203653.4039075-1-jolsa@kernel.org/ Reported-by: Jiri Olsa <jolsa@kernel.org> Reported-by: Alexei Starovoitov <ast@kernel.org> Reported-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Yonghong Song <yhs@fb.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions