Re: [PATCH 0/2] Optimise try_to_wake_up() when wakee is descheduling

2020-05-24 Thread Ingo Molnar
* Mel Gorman wrote: > The following two patches optimise try_to_wake_up() when the wakee is > descheduling. In a vanilla kernel, there can be excessive time spent > spinning on p->on_rq. This is fine if it's a strictly synchronous wakeup > and the waker is going to sleep but in other cases,

[PATCH 0/2] Optimise try_to_wake_up() when wakee is descheduling

2020-05-24 Thread Mel Gorman
The following two patches optimise try_to_wake_up() when the wakee is descheduling. In a vanilla kernel, there can be excessive time spent spinning on p->on_rq. This is fine if it's a strictly synchronous wakeup and the waker is going to sleep but in other cases, the waker spins until it can do