summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMikolaj Wasiak <mikolaj.wasiak@intel.com>2025-03-04 09:43:26 +0100
committerAndi Shyti <andi.shyti@linux.intel.com>2025-03-14 15:30:31 +0100
commit34b1c1c71d375835d589e0929299b8caf0171cf1 (patch)
tree8eb9ee00238522eec8f813772b98cb1f9b6ed054 /scripts/gdb/linux/tasks.py
parentbfef148f3680e6b9d28e7fca46d9520f80c5e50e (diff)
i915/selftest/igt_mmap: let mmap tests run in kthread
When the driver is loaded on the system with numa nodes it might be run in a kthread, which makes it impossible to use current->mm in the selftest. This patch allows the selftest to use current->mm by using active_mm. Signed-off-by: Mikolaj Wasiak <mikolaj.wasiak@intel.com> Reviewed-by: Eugene Kobyak <eugene.kobyak@intel.com> Reviewed-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/2w6pt2hnemndwmanwhyn3keexa6vtha7rmo6rqoerkmyxhbrh2@ls7lndjpia6z
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions