> 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.was...@intel.com>
Hi, LGTM Reviewed-by: Eugene Kobyak <eugene.kob...@intel.com> Best regards Eugene