how to hard hang the kernel from userspace?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux