lkml.org 
[lkml]   [2021]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] sched/fair: don't set LBF_ALL_PINNED unnecessarily
On Wed, Jan 06, 2021 at 04:20:55PM +0100, Vincent Guittot wrote:

> This case here is :
> we have 2 tasks TA and TB on the rq.
> The waiting one TB can't migrate for a reason other than the pinned case.
> We decide to start the active migration on the running TA task but TA
> is pinned.
> In this case we are not in the all pinned case.

But then can_migrate_task(TB) should clear ALL_PINNED, no?

\
 
 \ /
  Last update: 2021-01-06 16:35    [W:0.063 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site