Re: Lockups with 2.4.14 and 2.4.16

From: Chris Mason (
Date: Fri Dec 14 2001 - 11:49:28 EST

Ok, Johan sent along stack traces, and the deadlock works a little like this:

linux-2.4.16 + reiserfs + quota v2

kswapd ->
mark_inode_dirty->journal_begin-> wait for trans to end

Some process in the transaction is waiting on kswapd to free ram.

So, this will hit any journaled FS that uses quotas and logs inodes under
during a write. ext3 doesn't seem to do special things for quota anymore, so
it should be affected too.

The only fix I see is to make sure kswapd doesn't run shrink_icache, and to
have it done via a dedicated daemon instead. Does anyone have a better idea?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:28 EST