[PATCH v2 0/2] Clean up the process of scanning the CPU for some functions

Hao Jia posted 2 patches 3 years, 5 months ago
There is a newer version of this series
kernel/sched/core.c | 2 +-
kernel/sched/fair.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
[PATCH v2 0/2] Clean up the process of scanning the CPU for some functions
Posted by Hao Jia 3 years, 5 months ago
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
Re: [PATCH v2 0/2] Clean up the process of scanning the CPU for some functions
Posted by Hao Jia 3 years, 5 months ago
Friendly ping...

On 2022/10/26 Hao Jia wrote:
> 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(-)
>