aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/fault-inject.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-03-22 14:44:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-22 15:57:07 -0700
commit357670f79efb7e520461d18bb093342605c7cbed (patch)
tree01dfe7f4a93d489de74970be3cb1db7a64bcbddc /include/linux/fault-inject.h
parentmm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev (diff)
downloadwireguard-linux-357670f79efb7e520461d18bb093342605c7cbed.tar.xz
wireguard-linux-357670f79efb7e520461d18bb093342605c7cbed.zip
mm/memory-failure.c: rework the try_to_unmap logic in hwpoison_user_mappings()
Only for hugetlb pages in shared mappings, try_to_unmap should take semaphore in write mode here. Rework the code to make it clear. Link: https://lkml.kernel.org/r/20220218090118.1105-7-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fault-inject.h')
0 files changed, 0 insertions, 0 deletions