diff options
author | Mike Kravetz <[email protected]> | 2018-10-05 15:51:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-10-05 16:32:04 -0700 |
commit | dff11abe280b47c21b804a8ace318e0638bb9a49 (patch) | |
tree | db5156b3f8602967aba6949c3ef389afd0055ac2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 017b1660df89f5fb4bfe66c34e35f7d2031100c7 (diff) |
hugetlb: take PMD sharing into account when flushing tlb/caches
When fixing an issue with PMD sharing and migration, it was discovered via
code inspection that other callers of huge_pmd_unshare potentially have an
issue with cache and tlb flushing.
Use the routine adjust_range_if_pmd_sharing_possible() to calculate worst
case ranges for mmu notifiers. Ensure that this range is flushed if
huge_pmd_unshare succeeds and unmaps a PUD_SUZE area.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Kravetz <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions