diff options
| author | Miaohe Lin <[email protected]> | 2022-03-22 14:44:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-03-22 15:57:07 -0700 |
| commit | 357670f79efb7e520461d18bb093342605c7cbed (patch) | |
| tree | 01dfe7f4a93d489de74970be3cb1db7a64bcbddc /tools/perf/scripts/python | |
| parent | 67ff51c6a6d2ef99cf35a937e59269dc9a0c7fc2 (diff) | |
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/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions