Re: fuse uring / wake_up on the same core

From: Peter Zijlstra
Date: Mon Mar 27 2023 - 06:29:41 EST


On Fri, Mar 24, 2023 at 07:50:12PM +0000, Bernd Schubert wrote:

> With the fuse-uring patches that part is basically solved - the waitq
> that that thread is about is not used anymore. But as per above,
> remaining is the waitq of the incoming workq (not mentioned in the
> thread above). As I wrote, I have tried
> __wake_up_sync((x), TASK_NORMAL), but it does not make a difference for
> me - similar to Miklos' testing before. I have also tried struct
> completion / swait - does not make a difference either.
> I can see task_struct has wake_cpu, but there doesn't seem to be a good
> interface to set it.
>
> Any ideas?

Does the stuff from:

https://lkml.kernel.org/r/20230308073201.3102738-1-avagin@xxxxxxxxxx

work for you?