On Tue, Feb 06, 2007 at 06:49:05AM +0100, Nick Piggin wrote: > > - If the get_user() doesn't fault, and if we're copying from and to the > > same page, we know that we've locked it, so nobody will be able to unmap > > it while we're copying from it. > > > > Close, but no cigar! This is still vulnerable to Hugh's ab/ba deadlock > > scenario. > > Yes I considered this too. Hard isn't it? BTW, there are two different abba deadlocks. It's all documented in the patch 9/9 description. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Andrew Morton <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Andrew Morton <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Andrew Morton <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Andrew Morton <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- From: Nick Piggin <[email protected]>
- Re: [patch 9/9] mm: fix pagecache write deadlocks
- Prev by Date: Re: [patch 9/9] mm: fix pagecache write deadlocks
- Next by Date: Re: [PATCH[RFC] kill sysrq-u (emergency remount r/o)
- Previous by thread: Re: [patch 9/9] mm: fix pagecache write deadlocks
- Next by thread: Re: [patch 9/9] mm: fix pagecache write deadlocks
- Index(es):