Re: 2.6.17-mm5: lockdep prevents suspend to disk

From: Thomas Gleixner
Date: Tue Jul 04 2006 - 18:01:18 EST


On Tue, 2006-07-04 at 23:29 +0200, Pavel Machek wrote:
> Hi!
>
> > > > Jul 4 21:48:08 tycho kernel: rt-test-4
> > > > Jul 4 21:48:08 tycho kernel: rt-test-5
> > > > Jul 4 21:48:08 tycho kernel: rt-test-6
> > > > Jul 4 21:48:08 tycho kernel: rt-test-7
> > >
> > > Are rt-test-X tasks kernel threads or userspace programs? (Kernel
> > > threads need explicit try_to_freeze in them to allow suspend).
> > >
> > > Are they normally killable?
> >
> > hm, that's not lockdep but due to CONFIG_RT_MUTEX_TESTER.
>
> I'm pretty sure RT_MUTEX_TESTER is the problem, then. It should either
> end its threads when testing is no longer needed, or maybe add

The tests are stimulated from userspace, we need the kernel threads to
test the correctness of the PI bits in the kernel. So we don't know when
the tests are done.

> try_to_freeze() somewhere inside so that those threads can be frozen.

will look into it tomorrow.

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/