Re: circular locking dependency on shutdown

From: Rusty Russell
Date: Thu Jan 29 2009 - 23:44:11 EST


On Friday 30 January 2009 05:20:49 Johannes Berg wrote:
> Hi,
>
> Every time I shut down my machine with a 2.6.29-rc2 kernel, I get a
> lockdep report that scrolls off.
...
> halt is trying to acquire lock
> (&per_cpu(cpu_policy_rwsem, cpu)){---}
>
> but task is already holding lock
> (&cpu_hotplug.lock){--..}

Hi Johannes,

This looks much like the work_on_cpu()-getting-hotplug-lock problem which caused us to stop work_on_cpu doing that. -rc3 has that fix; any chance of a re-test?

Thanks,
Rusty.
--
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/