Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

Steven Rostedt
2005-08-03T15:58:04Z

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On Wed, 2005-08-03 at 11:15 -0400, Steven Rostedt wrote:
> I tested this patch by switching the kjournald to FIFO prio 30 and doing
> a make of the kernel and "find / -name vmlinux", but this took 40
> minutes to cause the deadlock. Attached is a dumb module that creates a
> thread and spins. If you want to test my softlockup detect, this will
> trigger it. The thread that is created is not RT so you can still do
> work. My detector doesn't care if something spins in the kernel as an RT
> task or not, it will flag it regardless.

Here's an updated version of the tarball. I've included another module
called nodeadlock that does a msleep(1) instead of a schedule. This
should _not_ be detected as a lockup.

-- Steve

[-- Attachment #2: deadlock_module.tar --]
[-- Type: application/x-tar, Size: 10240 bytes --]