Re: 2.6.17-mm5: lockdep prevents suspend to disk

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux