diff options
author | Jason Gunthorpe <[email protected]> | 2020-03-11 17:03:33 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-26 14:33:37 -0300 |
commit | 24cee8ab41eec51ea4cabd19c311719038084648 (patch) | |
tree | 1dc883b8ec8c9a807304fdb76ccaf15937fdc47c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4055062749229101365e5f9e87cb1c5a93e292f8 (diff) |
mm/hmm: do not check pmd_protnone twice in hmm_vma_handle_pmd()
pmd_to_hmm_pfn_flags() already checks it and makes the cpu flags 0. If no
fault is requested then the pfns should be returned with the not valid
flags.
It should not unconditionally fault if faulting is not requested.
Fixes: 2aee09d8c116 ("mm/hmm: change hmm_vma_fault() to allow write fault on page basis")
Reviewed-by: Ralph Campbell <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions