linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mmap vs NFS
@ 2007-11-14 20:01 Peter Zijlstra
  2007-11-14 20:01 ` [PATCH 1/3] mm: pull mmap_sem into do_mmap{,_pgoff} Peter Zijlstra
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Peter Zijlstra @ 2007-11-14 20:01 UTC (permalink / raw)
  To: linux-kernel, linux-mm, linux-arch, linux-fsdevel
  Cc: Linus Torvalds, Andrew Morton, Trond Myklebust, Nick Piggin,
	Hugh Dickins, Peter Zijlstra

Currently there is an AB-BA deadlock in NFS mmap.

nfs_file_mmap() can take i_mutex, while holding mmap_sem, whereas the regular
locking order is the other way around.

This patch-set attempts to solve this issue.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-11-14 22:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 20:01 [PATCH 0/3] mmap vs NFS Peter Zijlstra
2007-11-14 20:01 ` [PATCH 1/3] mm: pull mmap_sem into do_mmap{,_pgoff} Peter Zijlstra
2007-11-14 20:01 ` [PATCH 2/3] vfs: ->mmap_prepare() Peter Zijlstra
2007-11-14 20:01 ` [PATCH 3/3] nfs: use ->mmap_prepare() to avoid an AB-BA deadlock Peter Zijlstra
2007-11-14 21:22   ` Nick Piggin
2007-11-14 21:31     ` Peter Zijlstra
2007-11-14 21:41       ` Trond Myklebust
2007-11-14 21:50         ` Peter Zijlstra
2007-11-14 22:18           ` Trond Myklebust
2007-11-14 22:24             ` Nick Piggin
2007-11-14 22:53               ` Trond Myklebust
2007-11-14 20:19 ` [PATCH 0/3] mmap vs NFS Peter Zijlstra
2007-11-14 21:27 ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).