diff options
author | Stas Sergeev <[email protected]> | 2014-09-09 14:50:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-09-10 15:42:12 -0700 |
commit | caac7e6d00d3ddc888bd8169e75a02f962efdcff (patch) | |
tree | 5ec62f272828ee9da5786013e37a586ae78692fc /net/lapb/lapb_subr.c | |
parent | c680e41b3a2e944185c74bf60531e3d316d3ecc4 (diff) |
sh: get_user_pages_fast() must flush cache
This patch avoids fuse hangs on sh4 by flushing the cache on
get_user_pages_fast(). This is not necessary a good thing to do, but
get_user_pages() does this, so get_user_pages_fast() should too.
Please note the patch for mips arch that addresses the similar problem:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/ralf/linux/+/linux-3.4.50%5E!/#F0
They basically simply disable get_user_pages_fast() at all, using a
fall-back to get_user_pages(). But my fix is different, it adds an
explicit cache flushes.
Signed-off-by: Stas Sergeev <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Kamal Dasu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions