Hi, On 2025-02-26 at 13:41:34 GMT, Krzysztof Niemiec wrote: > I have two suggestions for a different fix: > > 1. Disable the test on systems with NUMA and/or if it's running in a > kthread, on the premise that it doesn't make sense to run this > specific test in a kthread. This is the easier option. > > 2. Find a way to pass an argument to the selftest, so we can pass a > known mm to the test thread. Then set it as current->mm for the > duration of the test like you're doing in your patch. We could pass > the IGT process's mm to "emulate" having it being the initializer of > the test task; this way we're being a good citizen and we don't mess > with some other process memory. I figure this is the harder option. > > I'd try 2 and if it doesn't work then just resort to 1 if there's no > better idea floating around.