diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-24 03:18:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 07:33:26 -0800 |
commit | 707c21c848deeb0200ba3f07e4ba90e6dc419c2f (patch) | |
tree | d8e8f32916ac1f04e45e42595ddd0ef771ddb1ad /init | |
parent | 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 (diff) |
[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 <hugh@veritas.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions