From: Andrew Morton Date: Fri, 24 Mar 2006 11:18:13 +0000 (-0800) Subject: [PATCH] msync(MS_SYNC): don't hold mmap_sem while syncing X-Git-Tag: v2.6.17-rc1~900 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=707c21c848deeb0200ba3f07e4ba90e6dc419c2f;p=pandora-kernel.git [PATCH] msync(MS_SYNC): don't hold mmap_sem while syncing It seems bad to hold mmap_sem while performing synchronous disk I/O. Alter the msync(MS_SYNC) code so that the lock is released while we sync the file. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed