diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-10-12 10:40:48 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-10-23 19:21:22 +0300 |
commit | 0f1a14e0348eb48e93e139af569944349b725f3f (patch) | |
tree | e76242c33e4f818976ddd4048b777b495fb66e6e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 64ea33fb09f8fdcc9eb9f253906886a5801bb48a (diff) | |
download | linux-0f1a14e0348eb48e93e139af569944349b725f3f.tar.xz |
s390/mm,fault: simplify kfence fault handling
do_no_context() can be simplified by removing its fault parameter,
which is only used to decide if kfence_handle_page_fault() should be
called.
If the fault happened within the kernel space it is ok to always check
if this happened on a page which was unmapped because of the kfence
feature. Limiting the check to the VM_FAULT_BADCONTEXT case doesn't
add any value.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions