Thread (2 messages) 2 messages, 2 authors, 2013-12-16

help in developing soft and hardlockup detection tool

From: Vipul Jain <hidden>
Date: 2013-12-15 08:27:49

Hi,

I would like to write a kernel module that will induce the softlockup and
hardlockup on the cpu core(s). Below is my logic and was wondering if some
one can help me verify and guide me creating a thread and other stuff for
implementing the logic.

softlockup:
on given cpu number.
1. disable kernel preemption
2. keep looping for 21 seconds (as per kernel Documentation it takes 20
seconds to detect and I would like to recover the system once its detected).
3. release the cpu

hardlockup
on given cpu number.
1. disable interrrupts.
2. keep looping for 11 seconds.
3. enable interrupts and release cpu.

Regards,
Vipul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131215/11ea000f/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help