diff options
| author | Atish Patra <[email protected]> | 2020-06-17 20:37:32 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-06-19 01:46:09 +0000 |
| commit | 0e2c09011d4de4161f615ff860a605a9186cf62a (patch) | |
| tree | b282cc26e2b2bd69ffc29280535664da6056606f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | RISC-V: Don't allow write+exec only page mapping request in mmap (diff) | |
| download | kernel-0e2c09011d4de4161f615ff860a605a9186cf62a.tar.gz kernel-0e2c09011d4de4161f615ff860a605a9186cf62a.zip | |
RISC-V: Acquire mmap lock before invoking walk_page_range
As per walk_page_range documentation, mmap lock should be acquired by the
caller before invoking walk_page_range. mmap_assert_locked gets triggered
without that. The details can be found here.
http://lists.infradead.org/pipermail/linux-riscv/2020-June/010335.html
Fixes: 395a21ff859c(riscv: add ARCH_HAS_SET_DIRECT_MAP support)
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Michel Lespinasse <[email protected]>
Reviewed-by: Zong Li <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
