diff options
author | Alexei Starovoitov <[email protected]> | 2024-03-04 19:05:15 -0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-03-06 10:19:04 -0800 |
commit | 3e49a866c9dcbd8173e4f3e491293619a9e81fa4 (patch) | |
tree | 5ed90ad44657e757261e3c827c3a87dd67df8b3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f50d5c423551bfa259af792647a2f4799780ac5 (diff) |
mm: Enforce VM_IOREMAP flag and range in ioremap_page_range.
There are various users of get_vm_area() + ioremap_page_range() APIs.
Enforce that get_vm_area() was requested as VM_IOREMAP type and range
passed to ioremap_page_range() matches created vm_area to avoid
accidentally ioremap-ing into wrong address range.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions