summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/Makefile
diff options
context:
space:
mode:
authorStas Sergeev <stsp@list.ru>2014-09-09 23:50:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-09-11 00:42:12 +0200
commitcaac7e6d00d3ddc888bd8169e75a02f962efdcff (patch)
tree5ec62f272828ee9da5786013e37a586ae78692fc /arch/sh/mm/Makefile
parenteventpoll: fix uninitialized variable in epoll_ctl (diff)
downloadlinux-caac7e6d00d3ddc888bd8169e75a02f962efdcff.tar.xz
linux-caac7e6d00d3ddc888bd8169e75a02f962efdcff.zip
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 <stsp@users.sourceforge.net> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kamal Dasu <kdasu.kdev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/mm/Makefile')
0 files changed, 0 insertions, 0 deletions