Re: [PATCH 3/3] powerpc: ps3: Add missing set_freezable() for ps3_probe_thread()

2023-12-21 Thread Michael Ellerman
Geoff Levand writes: > Hi Kevin, > > On 12/21/23 13:45, Kevin Hao wrote: >> The kernel thread function ps3_probe_thread() invokes the try_to_freeze() >> in its loop. But all the kernel threads are non-freezable by default. >> So if we want to make a kernel thread to be freezable, we have to invoke

Re: [PATCH 3/3] powerpc: ps3: Add missing set_freezable() for ps3_probe_thread()

2023-12-20 Thread Geoff Levand
Hi Kevin, On 12/21/23 13:45, Kevin Hao wrote: > The kernel thread function ps3_probe_thread() invokes the try_to_freeze() > in its loop. But all the kernel threads are non-freezable by default. > So if we want to make a kernel thread to be freezable, we have to invoke > set_freezable() explicitly.

[PATCH 3/3] powerpc: ps3: Add missing set_freezable() for ps3_probe_thread()

2023-12-20 Thread Kevin Hao
The kernel thread function ps3_probe_thread() invokes the try_to_freeze() in its loop. But all the kernel threads are non-freezable by default. So if we want to make a kernel thread to be freezable, we have to invoke set_freezable() explicitly. Signed-off-by: Kevin Hao --- arch/powerpc/platforms