Re: [PATCH] AB-BA deadlock in drop_caches sysctl (resend, the one sent was for 2.6.18)

2007-12-04 Thread Denis V. Lunev
Andrew Morton wrote: > On Mon, 3 Dec 2007 16:52:47 +0300 > "Denis V. Lunev" <[EMAIL PROTECTED]> wrote: > >> There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code >> paths: >> >> drop_pagecache >> spin_lock(&inode_lock); >> invalidate_mapping_pages >> try_to_release_page

Re: [PATCH] AB-BA deadlock in drop_caches sysctl (resend, the one sent was for 2.6.18)

2007-12-03 Thread Andrew Morton
On Mon, 3 Dec 2007 16:52:47 +0300 "Denis V. Lunev" <[EMAIL PROTECTED]> wrote: > There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code > paths: > > drop_pagecache > spin_lock(&inode_lock); > invalidate_mapping_pages > try_to_release_page > ext3_releasepage >

[PATCH] AB-BA deadlock in drop_caches sysctl (resend, the one sent was for 2.6.18)

2007-12-03 Thread Denis V. Lunev
There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code paths: drop_pagecache spin_lock(&inode_lock); invalidate_mapping_pages try_to_release_page ext3_releasepage journal_try_to_free_buffers __journal_try_to_free_buffer spin_lock(&jour

[PATCH] AB-BA deadlock in drop_caches sysctl

2007-12-03 Thread Denis V. Lunev
There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code paths: drop_pagecache spin_lock(&inode_lock); invalidate_mapping_pages try_to_release_page ext3_releasepage journal_try_to_free_buffers __journal_try_to_free_buffer spin_lock(&jour