lkml.org 
[lkml]   [2020]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/9] sched/hotplug: Consolidate task migration on CPU unplug
On Thu, Oct 01, 2020 at 06:12:30PM +0100, Vincent Donnefort wrote:
> On Mon, Sep 21, 2020 at 06:36:02PM +0200, Peter Zijlstra wrote:
>
> [...]
>
> > +
> > + [CPUHP_AP_SCHED_WAIT_EMPTY] = {
> > + .name = "sched:waitempty",
> > + .startup.single = NULL,
> > + .teardown.single = sched_cpu_wait_empty,
> > + },
> > +
> > /* Handle smpboot threads park/unpark */
>
> Unless I missed something, now that the wait has its own HP step, this
> patch can probably also get rid of the balance_hotplug_wait() in
> sched_cpu_deactivate() introduced by:
>
> [PATCH 4/9] sched/core: Wait for tasks being pushed away on hotplug

I'd think so. Consider it gone.

\
 
 \ /
  Last update: 2020-10-02 16:18    [W:0.252 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site