On Wed, May 29, 2024 at 08:00:50PM +0200, Bernd Schubert wrote: > This is needed by fuse-over-io-uring to wake up the waiting > application thread on the core it was submitted from. > Avoiding core switching is actually a major factor for > fuse performance improvements of fuse-over-io-uring. Then maybe split that into a separate enhancement? > --- a/kernel/sched/wait.c > +++ b/kernel/sched/wait.c > @@ -132,6 +132,7 @@ void __wake_up_on_current_cpu(struct wait_queue_head *wq_head, unsigned int mode > { > __wake_up_common_lock(wq_head, mode, 1, WF_CURRENT_CPU, key); > } > +EXPORT_SYMBOL(__wake_up_on_current_cpu); I'll leave it to the scheduler maintainers if they want this exported at all and if yes with the __-prefix and without a kerneldoc comment explaining the API, but anything this low-level should be EXPORT_SYMBOL_GPL for sure.