[PATCH] i915/selftest/igt_mmap: let mmap tests run in kthread
Eugene Kobyak
eugene.kobyak at intel.com
Wed Feb 26 09:21:00 UTC 2025
> When driver is loaded on system with numa nodes it might be run in kthread.
> This makes it impossible to use current->mm in selftests which currently
> creates null pointer exception.
> This patch allows selftest to use current->mm by using active_mm.
>
> Signed-off-by: Mikolaj Wasiak <mikolaj.wasiak at intel.com>
Hi, LGTM
Reviewed-by: Eugene Kobyak <eugene.kobyak at intel.com>
Best regards
Eugene
More information about the Intel-gfx
mailing list