Re: SD_LOAD_BALANCE

From: Julia Lawall
Date: Mon Oct 12 2020 - 06:34:32 EST


> > Would it be useful to always check whether prev is idle, perhaps in
> > wake_affine_idle or perhaps in select_idle_sibling?
>
> Yes, that would make sense to add a condition in wake_affine_idle to
> return prev if this cpu is not idle (or about to become idle)

The case where this cpu is idle would be in the interrupt case. If both
prev cpu and this cpu are idle, is it more desirable to move the thread to
this cpu or to leave it where it was?

julia