Re: [PATCH] kthread: remove kthread_exit()
From: Christoph Hellwig
Date: Fri Mar 06 2026 - 09:44:57 EST
More a comment on the previous patch, but I think exporting do_exit
which can work on any task is a really bad idea. I'd much rather re-add
a kthread_exit wrapper that checks PF_KTHREAD first and only export
that, which would obsolete this patch.