Re: [2.6.22] circular lock detected

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <folkert@...>, <linux-kernel@...>, <a.p.zijlstra@...>
Date: Monday, September 3, 2007 - 10:01 am

On Mon 03-09-07 05:49:59, Andrew Morton wrote:
  The final report is for this ranking but the locking chain (if I understand it
right) is:
tty_mutex (con_close) -> i_mutex (sysfs: remove_subdir)
i_mutex (do_truncate) -> i_alloc_sem (notify_change) -> truncate_mutex (ext3_truncate)
truncate_mutex (ext3_get_blocks_handle) -> dqptr_sem (dquot_alloc_space)

So it complains about tty_mutex vs dqptr_sem (I don't know why it does not
complain about tty_mutex vs i_mutex) but the wrong link in the chain is
that i_mutex from remove_subdir() [sysfs] and i_mutex from do_truncate()
[ext3] are different and should never depend on each other...

									Honza

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.22] circular lock detected, Folkert van Heusden, (Fri Aug 24, 5:00 pm)
Re: [2.6.22] circular lock detected, Andrew Morton, (Sun Sep 2, 7:55 am)
Re: [2.6.22] circular lock detected, Jan Kara, (Mon Sep 3, 8:27 am)
Re: [2.6.22] circular lock detected, Andrew Morton, (Mon Sep 3, 8:49 am)
Re: [2.6.22] circular lock detected, Jan Kara, (Mon Sep 3, 10:01 am)
Re: [2.6.22] circular lock detected, Peter Zijlstra, (Tue Sep 25, 4:02 am)
Re: [2.6.22] circular lock detected, Jan Kara, (Tue Sep 25, 4:46 am)
Re: [2.6.22] circular lock detected, Simon Arlott, (Fri Jan 4, 3:40 am)
Re: [2.6.22] circular lock detected, Peter Zijlstra, (Fri Jan 4, 5:21 am)
Re: [2.6.22] circular lock detected, Folkert van Heusden, (Sun Sep 2, 1:11 pm)
Re: [2.6.22] circular lock detected, Michal Piotrowski, (Sun Aug 26, 7:03 pm)