linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: MAX_LOCK_DEPTH too low!
@ 2012-12-17  8:14 Kirill A. Shutemov
  2012-12-17  8:17 ` Gleb Natapov
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2012-12-17  8:14 UTC (permalink / raw)
  To: Marcelo Tosatti, Gleb Natapov; +Cc: kvm, linux-mm, linux-kernel

Hi,

I've got this BUG on up-to-date Linus tree (aed606e):

[ 1145.439071] BUG: MAX_LOCK_DEPTH too low!
[ 1145.439077] turning off the locking correctness validator.
[ 1145.439081] Pid: 4619, comm: kvm Not tainted 3.7.0-08682-gaed606e-dirty #166
[ 1145.439084] Call Trace:
[ 1145.439094]  [<ffffffff810e6094>] __lock_acquire.isra.24+0xc54/0xe10
[ 1145.439099]  [<ffffffff810e6873>] lock_acquire+0x93/0x140
[ 1145.439106]  [<ffffffff8117bfa8>] ? mm_take_all_locks+0x148/0x1b0
[ 1145.439111]  [<ffffffff8173d239>] down_write+0x49/0x90
[ 1145.439115]  [<ffffffff8117bfa8>] ? mm_take_all_locks+0x148/0x1b0
[ 1145.439119]  [<ffffffff8117bfa8>] mm_take_all_locks+0x148/0x1b0
[ 1145.439124]  [<ffffffff81192253>] ? do_mmu_notifier_register+0x153/0x180
[ 1145.439128]  [<ffffffff8119217f>] do_mmu_notifier_register+0x7f/0x180
[ 1145.439132]  [<ffffffff811922b3>] mmu_notifier_register+0x13/0x20
[ 1145.439138]  [<ffffffff81006036>] kvm_dev_ioctl+0x3e6/0x520
[ 1145.439142]  [<ffffffff810e40e8>] ? debug_check_no_locks_freed+0xd8/0x170
[ 1145.439148]  [<ffffffff811be6c7>] do_vfs_ioctl+0x97/0x540
[ 1145.439152]  [<ffffffff811bec01>] sys_ioctl+0x91/0xb0
[ 1145.439158]  [<ffffffff8132464e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 1145.439163]  [<ffffffff817478c6>] system_call_fastpath+0x1a/0x1f

-- 
 Kirill A. Shutemov

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

* Re: BUG: MAX_LOCK_DEPTH too low!
  2012-12-17  8:14 BUG: MAX_LOCK_DEPTH too low! Kirill A. Shutemov
@ 2012-12-17  8:17 ` Gleb Natapov
  0 siblings, 0 replies; 3+ messages in thread
From: Gleb Natapov @ 2012-12-17  8:17 UTC (permalink / raw)
  To: Kirill A. Shutemov
  Cc: Marcelo Tosatti, kvm, linux-mm, linux-kernel, Andrea Arcangeli

Copying Andrea.

On Mon, Dec 17, 2012 at 10:14:47AM +0200, Kirill A. Shutemov wrote:
> Hi,
> 
> I've got this BUG on up-to-date Linus tree (aed606e):
> 
> [ 1145.439071] BUG: MAX_LOCK_DEPTH too low!
> [ 1145.439077] turning off the locking correctness validator.
> [ 1145.439081] Pid: 4619, comm: kvm Not tainted 3.7.0-08682-gaed606e-dirty #166
> [ 1145.439084] Call Trace:
> [ 1145.439094]  [<ffffffff810e6094>] __lock_acquire.isra.24+0xc54/0xe10
> [ 1145.439099]  [<ffffffff810e6873>] lock_acquire+0x93/0x140
> [ 1145.439106]  [<ffffffff8117bfa8>] ? mm_take_all_locks+0x148/0x1b0
> [ 1145.439111]  [<ffffffff8173d239>] down_write+0x49/0x90
> [ 1145.439115]  [<ffffffff8117bfa8>] ? mm_take_all_locks+0x148/0x1b0
> [ 1145.439119]  [<ffffffff8117bfa8>] mm_take_all_locks+0x148/0x1b0
> [ 1145.439124]  [<ffffffff81192253>] ? do_mmu_notifier_register+0x153/0x180
> [ 1145.439128]  [<ffffffff8119217f>] do_mmu_notifier_register+0x7f/0x180
> [ 1145.439132]  [<ffffffff811922b3>] mmu_notifier_register+0x13/0x20
> [ 1145.439138]  [<ffffffff81006036>] kvm_dev_ioctl+0x3e6/0x520
> [ 1145.439142]  [<ffffffff810e40e8>] ? debug_check_no_locks_freed+0xd8/0x170
> [ 1145.439148]  [<ffffffff811be6c7>] do_vfs_ioctl+0x97/0x540
> [ 1145.439152]  [<ffffffff811bec01>] sys_ioctl+0x91/0xb0
> [ 1145.439158]  [<ffffffff8132464e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> [ 1145.439163]  [<ffffffff817478c6>] system_call_fastpath+0x1a/0x1f
> 
> -- 
>  Kirill A. Shutemov

--
			Gleb.

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

* BUG: MAX_LOCK_DEPTH too low!
@ 2008-11-17 15:24 Justin P. Mattock
  0 siblings, 0 replies; 3+ messages in thread
From: Justin P. Mattock @ 2008-11-17 15:24 UTC (permalink / raw)
  To: Linux Kernel Mailing List

When running kvm I get an error
about vmalloc not having enough memory
(adding vmalloc=256m resolves the issue);
then during the session I'm seeing:

[  201.020491] BUG: MAX_LOCK_DEPTH too low!
[  201.020498] turning off the locking correctness validator.

other than seeing this in dmesg,
kvm run's really good.

regards;
-- 
Justin P. Mattock <justinmattock@gmail.com>


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

end of thread, other threads:[~2012-12-17  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-17  8:14 BUG: MAX_LOCK_DEPTH too low! Kirill A. Shutemov
2012-12-17  8:17 ` Gleb Natapov
  -- strict thread matches above, loose matches on Subject: below --
2008-11-17 15:24 Justin P. Mattock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).