summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-26 03:17:16 +0300
committerUladzislau Rezki (Sony) <urezki@gmail.com>2024-12-14 19:10:20 +0300
commit7a323371197b184c8f0cff0d67d74f48f0098164 (patch)
treefc6c210bbebf397a75c017c9892e864d63f846e2 /tools/perf/scripts/python/export-to-sqlite.py
parent6ae4c30fee05d97c4f53237e3cd13795a6f44422 (diff)
downloadlinux-7a323371197b184c8f0cff0d67d74f48f0098164.tar.xz
rcu: Make preemptible rcu_exp_handler() check idempotency
Although the non-preemptible implementation of rcu_exp_handler() contains checks to enforce idempotency, the preemptible version does not. The reason for this omission is that in preemptible kernels, there is no reporting of quiescent states from CPU hotplug notifiers, and thus no need for idempotency. In theory, anyway. In practice, accidents happen. This commit therefore adds checks under WARN_ON_ONCE() to catch any such accidents. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions