diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-02 22:26:44 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-26 20:33:37 +0300 |
commit | 05fc1df95e5dc09802813bab9c1e718f1e419d93 (patch) | |
tree | adcaddd7bac8e2f5aa139d0075b096cbc2e4dfd1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dfdc22078f3f064d2659acdc42d886834f3a3863 (diff) | |
download | linux-05fc1df95e5dc09802813bab9c1e718f1e419d93.tar.xz |
mm/hmm: do not call hmm_vma_walk_hole() while holding a spinlock
This eventually calls into handle_mm_fault() which is a sleeping function.
Release the lock first.
hmm_vma_walk_hole() does not touch the contents of the PUD, so it does not
need the lock.
Fixes: 3afc423632a1 ("mm: pagewalk: add p4d_entry() and pgd_entry()")
Cc: Steven Price <steven.price@arm.com>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions