diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-10-12 09:40:48 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-10-23 18:21:22 +0200 |
commit | 0f1a14e0348eb48e93e139af569944349b725f3f (patch) | |
tree | e76242c33e4f818976ddd4048b777b495fb66e6e /scripts/gdb/linux/utils.py | |
parent | 64ea33fb09f8fdcc9eb9f253906886a5801bb48a (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions