Softlockup and Hardlockup sample test module
NiftyLinKern Mitchell
niftylinkern at niftyegg.com
Sun May 6 14:13:55 EDT 2018
On Sun, Apr 15, 2018 at 12:47 AM, Ivid Suvarna <ivid.suvarna at gmail.com>
wrote:
>
> Hi All,
>
> Could you please provide some sample test module for causing a
> Softlockup and Hardlockup in latest kernel for SMP for testing
Have you looked at this book?
Operating System Principles by Per Brinch Hansen
It outlines some basic multi processing locking strategies and how things
might break.
These apply to multiple process user programs as well as kernel code.
Being inside a lock has impact only on that lock and the tree of locks ,
data and code that depend on it.
Locking of two types come to mind. Locked data or a lock on a monitor
function that manages a set of things
that depend on each other or just simply modifies data.
Interrupt and signal masks play an important part in all of this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180506/ca7a2d68/attachment.html>
More information about the Kernelnewbies
mailing list