diff --git a/.github/workflows/scripts/qemu-6-tests.sh b/.github/workflows/scripts/qemu-6-tests.sh index 41c34511357..a0612e5e0b2 100755 --- a/.github/workflows/scripts/qemu-6-tests.sh +++ b/.github/workflows/scripts/qemu-6-tests.sh @@ -186,6 +186,13 @@ case "$OS" in sudo mount -o noatime /dev/vdb /var/tmp sudo chmod 1777 /var/tmp sudo mv -f /tmp/*.txt /var/tmp + + # Allow for longer RCU timeouts due to the heavily virtualized and + # potentially oversubscribed nature of the CI environment. + rcu_cpu_stall_timeout="/sys/module/rcupdate/parameters/rcu_cpu_stall_timeout" + if test -f $rcu_cpu_stall_timeout; then + echo 120 | sudo sh -c "cat > '$rcu_cpu_stall_timeout'" + fi ;; esac