public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* circular locking dependency on shutdown
@ 2009-01-29 18:50 Johannes Berg
  2009-01-29 19:54 ` Johannes Berg
  2009-01-30  4:43 ` Rusty Russell
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Berg @ 2009-01-29 18:50 UTC (permalink / raw)
  To: Linux Kernel list
  Cc: Heiko Carstens, Pekka Enberg, Ingo Molnar, Manfred Spraul,
	Peter Zijlstra, cpufreq

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

Hi,

Every time I shut down my machine with a 2.6.29-rc2 kernel, I get a
lockdep report that scrolls off. I tried capturing it on video, the
relevant frames are here:
http://johannes.sipsolutions.net/files/shutdown-lockdep-images.tar.bz2

Some info I transscribed:

halt is trying to acquire lock
	(&per_cpu(cpu_policy_rwsem, cpu)){---}

but task is already holding lock
	(&cpu_hotplug.lock){--..}

which already yadda yadda

lock chain:
#1	(&cpu_hotplug.lock){--..}
	...
	get_online_cpus
#0	(&per_cpu(cpu_policy_rwsem, cpu))
	...
	disable_nonboot_cpus

stacktrace:
	down_write
	lock_policy_rwsem_write
	cpufreq_cpu_callback
	notifier_call_chain
	disable_nonboot_cpus
	kernel_power_off
	...


johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-30  4:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 18:50 circular locking dependency on shutdown Johannes Berg
2009-01-29 19:54 ` Johannes Berg
2009-01-29 20:27   ` Ingo Molnar
2009-01-30  4:43 ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox