From: Alexei Starovoitov Date: Sun, 7 Nov 2021 19:54:51 +0000 (-0800) Subject: Merge branch 'introduce bpf_find_vma' X-Git-Tag: v5.17-rc1~170^2~445^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cc78dcca36de43f6ec4a94ddf64ddfa9bb36024;p=thirdparty%2Flinux.git Merge branch 'introduce bpf_find_vma' Song Liu says: ==================== Changes v4 => v5: 1. Clean up and style change in 2/2. (Andrii) Changes v3 => v4: 1. Move mmap_unlock_work to task_iter.c to fix build for .config without !CONFIG_PERF_EVENTS. (kernel test robot ) Changes v2 => v3: 1. Avoid using x86 only function in selftests. (Yonghong) 2. Add struct file and struct vm_area_struct to btf_task_struct_ids, and use it in bpf_find_vma and stackmap.c. (Yonghong) 3. Fix inaccurate comments. (Yonghong) Changes v1 => v2: 1. Share irq_work with stackmap.c. (Daniel) 2. Add tests for illegal writes to task/vma from the callback function. (Daniel) 3. Other small fixes. Add helper bpf_find_vma. This can be used in some profiling use cases. It might also be useful for LSM. ==================== Signed-off-by: Alexei Starovoitov --- 0cc78dcca36de43f6ec4a94ddf64ddfa9bb36024