no need to hold mm->mmap_sem in write lock
commit62a9821627baaa284e3f44e3aedb5e16cff69f48
authorPhil Sutter <phil.sutter@viprinet.com>
Mon, 16 Jul 2012 13:10:12 +0000 (16 15:10 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 16 Jul 2012 19:58:19 +0000 (16 21:58 +0200)
tree19048e47256d5d989b8c11d044a056d8f2b276f6
parentc5ce86a635cfb455af3049892f91cd13347df835
no need to hold mm->mmap_sem in write lock

As other examples show, read lock suffices although pages are being
written later on.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
zc.c