summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-08-31 17:01:58 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2019-10-09 23:29:40 +0100
commit67e15fa5b487adb9b78a92789eeff2d6ec8f5cee (patch)
treeb2d3a83245585d019b2200580c1a75a4cedfab92 /arch/sh/boards
parent4d856f72c10ecb060868ed10ff1b1453943fc6c8 (diff)
downloadlinux-stable-67e15fa5b487adb9b78a92789eeff2d6ec8f5cee.tar.gz
linux-stable-67e15fa5b487adb9b78a92789eeff2d6ec8f5cee.tar.bz2
linux-stable-67e15fa5b487adb9b78a92789eeff2d6ec8f5cee.zip
ARM: mm: fix alignment handler faults under memory pressure
When the system has high memory pressure, the page containing the instruction may be paged out. Using probe_kernel_address() means that if the page is swapped out, the resulting page fault will not be handled because page faults are disabled by this function. Use get_user() to read the instruction instead. Reported-by: Jing Xiangfeng <jingxiangfeng@huawei.com> Fixes: b255188f90e2 ("ARM: fix scheduling while atomic warning in alignment handling code") Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/sh/boards')
0 files changed, 0 insertions, 0 deletions