diff options
author | Andrea Arcangeli <[email protected]> | 2019-02-01 14:20:16 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-02-01 15:46:23 -0800 |
commit | 1ac25013fb9e4ed595cd608a406191e93520881e (patch) | |
tree | 7be7a10047d58317e275f2028b112515dc6a9c43 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 36c0f7f0f89984bb21e6d0f92d776faf7be73096 (diff) |
mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT
hugetlb needs the same fix as faultin_nopage (which was applied in
commit 96312e61282a ("mm/gup.c: teach get_user_pages_unlocked to handle
FOLL_NOWAIT")) or KVM hangs because it thinks the mmap_sem was already
released by hugetlb_fault() if it returned VM_FAULT_RETRY, but it wasn't
in the FOLL_NOWAIT case.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: ce53053ce378 ("kvm: switch get_user_page_nowait() to get_user_pages_unlocked()")
Signed-off-by: Andrea Arcangeli <[email protected]>
Tested-by: "Dr. David Alan Gilbert" <[email protected]>
Reported-by: "Dr. David Alan Gilbert" <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions