how to hard hang the kernel from userspace?
Daniel Walker
danielwa at cisco.com
Wed Dec 6 19:32:26 EST 2017
Hi,
I was able to formulate this command,
echo -1 > /proc/sys/kernel/sched_rt_runtime_us
chrt -f 99 yes &> /dev/null
and it works sometimes on UP, but it doesn't work on SMP. I also tried
adding in "taskset" to pin multiple version of the "yes" command to each
cpu in the system, but that just resulted in lots of rcu warnings.
The goal is to make the watchdog trigger by starving out the watchdog
petting process. Anyone have any ideas? I'd rather not make a kernel module.
Thanks,
Daniel
More information about the Kernelnewbies
mailing list