Re: INFO: task mount:11202 blocked for more than 120 seconds

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christian Kujau <lists@...>
Cc: Milan Broz <mbroz@...>, David Chinner <dgc@...>, LKML <linux-kernel@...>, <xfs@...>, <dm-devel@...>
Date: Sunday, March 16, 2008 - 4:33 pm

On Sat, Mar 15, 2008 at 12:58:02AM +0100, Christian Kujau wrote:

False positive. Memory reclaim can inverts the order of iprune_mutex and
the normal inode locking orders. i.e. Both of these are possible:

	do_something()
	enter memory reclaim
	iprune_mutex
	inode lock

or
	do_something()
	inode lock
	do_something_else
	enter memory reclaim
	iprune_mutex
	inode lock on different inode

So depending on what is seen first (in this case the first), the second
will trip lockdep. Neither are a deadlock, because the inode lock
held before memory reclaim is a referenced inode and will *never* be
on the free list for memory reclaim to deadlock on....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
INFO: task mount:11202 blocked for more than 120 seconds, Christian Kujau, (Fri Mar 7, 4:32 pm)
Re: [dm-crypt] INFO: task mount:11202 blocked for more than ..., Alasdair G Kergon, (Mon Mar 17, 1:36 pm)
Re: INFO: task mount:11202 blocked for more than 120 seconds, Christian Kujau, (Fri Mar 14, 7:58 pm)
Re: INFO: task mount:11202 blocked for more than 120 seconds, David Chinner, (Sun Mar 16, 4:33 pm)
Re: INFO: task mount:11202 blocked for more than 120 seconds, Christian Kujau, (Wed Mar 12, 7:07 pm)
Re: INFO: task mount:11202 blocked for more than 120 seconds, Christian Kujau, (Thu Mar 13, 9:45 am)
Re: INFO: task mount:11202 blocked for more than 120 seconds, Christian Kujau, (Thu Mar 13, 5:54 pm)
Re: 2.6.25-rc hangs, Eric Sandeen, (Sun Mar 9, 12:44 pm)
Re: 2.6.25-rc hangs, Christian Kujau, (Sun Mar 9, 2:05 pm)