public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Looping more in detach_tasks() when RT and CFS tasks are present
@ 2020-06-24 11:42 Pavan Kondeti
  2020-06-24 12:39 ` Vincent Guittot
  0 siblings, 1 reply; 3+ messages in thread
From: Pavan Kondeti @ 2020-06-24 11:42 UTC (permalink / raw)
  To: Vincent Guittot, Peter Zijlstra; +Cc: LKML, leiwen

Hi Vincent/Peter,

in load_balance(), we derive env->loop_max based on rq->nr_running.
When the busiest rq has both RT and CFS tasks, we do more loops in
detach_tasks(). Is there any reason for not using
rq->cfs.h_nr_running?

Lei Wen attempted to fix this before.
https://lore.kernel.org/lkml/1376814322-7320-2-git-send-email-leiwen@marvell.com/

Thanks,
Pavan

-- 
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-24 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-24 11:42 Looping more in detach_tasks() when RT and CFS tasks are present Pavan Kondeti
2020-06-24 12:39 ` Vincent Guittot
2020-06-24 14:18   ` Pavan Kondeti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox