mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Clean up the process of scanning the CPU for some functions
@ 2022-10-26  6:42 Hao Jia
  2022-10-26  6:42 ` [PATCH v2 1/2] sched/numa: Stop an exhastive search if an idle core is found Hao Jia
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Hao Jia @ 2022-10-26  6:42 UTC (permalink / raw)
  To: mingo, peterz, mingo, juri.lelli, vincent.guittot,
	dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
	mgorman
  Cc: linux-kernel, Hao Jia

These two patches clean up the process of scanning the CPU.

Patch 1 stops checking for a new idle core in time
if an idle core has already been found.

Patch 2 tries to minimize false attempts by adjusting the order
of scanning CPU.

v1->v2:
    - Simplified patch1 code and add
      "Acked-by: Mel Gorman <mgorman@techsingularity.net>"
    - Modify commit description to make it more clear

[v1] https://lore.kernel.org/all/20221021061558.34767-1-jiahao.os@bytedance.com

Hao Jia (2):
  sched/numa: Stop an exhastive search if an idle core is found
  sched/core: Adjusting the order of scanning CPU

 kernel/sched/core.c | 2 +-
 kernel/sched/fair.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.37.0


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

end of thread, other threads:[~2022-11-30  8:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26  6:42 [PATCH v2 0/2] Clean up the process of scanning the CPU for some functions Hao Jia
2022-10-26  6:42 ` [PATCH v2 1/2] sched/numa: Stop an exhastive search if an idle core is found Hao Jia
2022-10-26  6:43 ` [PATCH v2 2/2] sched/core: Adjusting the order of scanning CPU Hao Jia
2022-11-14 12:15   ` Mel Gorman
2022-11-16  8:48     ` [External] " Hao Jia
2022-11-30  6:35     ` Hao Jia
2022-11-30  7:59       ` Vincent Guittot
2022-11-08  3:01 ` [PATCH v2 0/2] Clean up the process of scanning the CPU for some functions Hao Jia

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

all inboxes | Powered by JetHome®