aboutsummaryrefslogtreecommitdiff
path: root/Documentation/RCU/RTFP.txt
diff options
context:
space:
mode:
authorGravatar Paul E. McKenney <paulmck@kernel.org> 2021-02-12 16:20:40 -0800
committerGravatar Paul E. McKenney <paulmck@kernel.org> 2021-03-15 13:51:48 -0700
commit1c0c4bc1ceb580851b2d76fdef9712b3bdae134b (patch)
tree4d1fc76bbc8f896c9ac8fc24b7aaa87d88d6001b /Documentation/RCU/RTFP.txt
parentrcu: Fix kfree_rcu() docbook errors (diff)
downloadlinux-1c0c4bc1ceb580851b2d76fdef9712b3bdae134b.tar.gz
linux-1c0c4bc1ceb580851b2d76fdef9712b3bdae134b.tar.bz2
linux-1c0c4bc1ceb580851b2d76fdef9712b3bdae134b.zip
softirq: Don't try waking ksoftirqd before it has been spawned
If there is heavy softirq activity, the softirq system will attempt to awaken ksoftirqd and will stop the traditional back-of-interrupt softirq processing. This is all well and good, but only if the ksoftirqd kthreads already exist, which is not the case during early boot, in which case the system hangs. One reproducer is as follows: tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 2 --configs "TREE03" --kconfig "CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y CONFIG_NO_HZ_IDLE=y CONFIG_HZ_PERIODIC=n" --bootargs "threadirqs=1" --trust-make This commit therefore adds a couple of existence checks for ksoftirqd and forces back-of-interrupt softirq processing when ksoftirqd does not yet exist. With this change, the above test passes. Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reported-by: Uladzislau Rezki <urezki@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> [ paulmck: Remove unneeded check per Sebastian Siewior feedback. ] Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/RCU/RTFP.txt')
0 files changed, 0 insertions, 0 deletions