On Tue, Jul 26, 2022 at 12:17:02PM +0200, Jason A. Donenfeld wrote:
That won't be possible until 5.20, though, and this patch is needed to fix earlier kernels, so the intermediate step here is still required. But please keep this on the back burner of your mind. The 5.20 enablement patch for that is here:
https://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git/...
Actually, I don't think this will be needed if we switch over to completions. This is because we will no longer be using kthread_should_stop to determine when we should exit the loop, instead it will be the completion that has the final say.
Cheers,