Re: [linux-next] possible circular locking dependency forcryptsetup

From: Herbert Xu
Date: Fri Nov 07 2008 - 07:40:59 EST


On Fri, Nov 07, 2008 at 08:37:50PM +1100, Stephen Rothwell wrote:
>
> > =======================================================
> > [ INFO: possible circular locking dependency detected ]
> > 2.6.28-rc3-next-20081106-mad-1 #2
> > -------------------------------------------------------
> > cryptsetup/2554 is trying to acquire lock:
> > (&cpu_hotplug.lock){--..}, at: [<c012cd32>] get_online_cpus+0x22/0x40
> >
> > but task is already holding lock:
> > (&mm->mmap_sem){----}, at: [<c018b98e>] sys_mlockall+0x5e/0xd0

I don't see anything in the back-trace that's crypto related
or even dm related. Therefore I suspect the problem is in core
sysfs, mm or CPU hot plugging.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/