Messages in this thread | | | Date | Mon, 9 Dec 2019 22:28:00 +0530 | From | Srikar Dronamraju <> | Subject | Re: single aio thread is migrated crazily by scheduler |
| |
* Jens Axboe <axboe@kernel.dk> [2019-11-21 09:19:29]:
> > > > I wish there was a flag to wake_up() or to the event object that says > > to relinquish the remaning of the time-slice to the waiter on same > > CPU, since I will be soon sleeping. > > Isn't that basically what wake_up_sync() is? >
Workqueue don't seem to be using wait_queue_head which is needed when using wake_up_sync and its related APIs. Also wake_up_sync would work when the waking task seems to hand off the CPU and goes to sleep/block. However here, i.e in fsperf case atleast, the waking thread continues to run after it has woken the per cpu workqueue.
-- Thanks and Regards Srikar Dronamraju
| |