[PATCH v2 0/6] sched fixes

Yury Norov posted 6 patches 2 years ago
include/linux/numa.h     |  7 +++++--
include/linux/topology.h |  2 +-
kernel/sched/fair.c      | 14 +-------------
kernel/sched/topology.c  | 25 +++++++++++++++++--------
lib/cpumask.c            |  4 +---
mm/mempolicy.c           | 18 +++++++++++-------
6 files changed, 36 insertions(+), 34 deletions(-)
[PATCH v2 0/6] sched fixes
Posted by Yury Norov 2 years ago
Fixes for recently introduced sched_numa_find_nth_cpu(), and minor
improvements in sched/fair.

v1: https://lore.kernel.org/lkml/20230810162442.9863-1-yury.norov@gmail.com/T/
v2:
 - fix wording in commit messages;
 - move nearest node search inside rcu lock section in
   sched_numa_find_nth_cpu();
 - move NUMA_NO_NODE handling inside sched_numa_find_nth_cpu();
 - rewrite comment for sched_numa_find_nth_cpu().
 - add review tag from Yicong Yang.

Yury Norov (6):
  numa: generalize numa_map_to_online_node()
  sched/fair: fix opencoded numa_nearest_node()
  sched: fix sched_numa_find_nth_cpu() in CPU-less case
  sched: fix sched_numa_find_nth_cpu() in non-NUMA case
  sched: handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
  sched: fix sched_numa_find_nth_cpu() comment

 include/linux/numa.h     |  7 +++++--
 include/linux/topology.h |  2 +-
 kernel/sched/fair.c      | 14 +-------------
 kernel/sched/topology.c  | 25 +++++++++++++++++--------
 lib/cpumask.c            |  4 +---
 mm/mempolicy.c           | 18 +++++++++++-------
 6 files changed, 36 insertions(+), 34 deletions(-)

-- 
2.39.2
Re: [PATCH v2 0/6] sched fixes
Posted by Yury Norov 2 years ago
Ping?

On Sat, Aug 19, 2023 at 07:12:32AM -0700, Yury Norov wrote:
> Fixes for recently introduced sched_numa_find_nth_cpu(), and minor
> improvements in sched/fair.
> 
> v1: https://lore.kernel.org/lkml/20230810162442.9863-1-yury.norov@gmail.com/T/
> v2:
>  - fix wording in commit messages;
>  - move nearest node search inside rcu lock section in
>    sched_numa_find_nth_cpu();
>  - move NUMA_NO_NODE handling inside sched_numa_find_nth_cpu();
>  - rewrite comment for sched_numa_find_nth_cpu().
>  - add review tag from Yicong Yang.
> 
> Yury Norov (6):
>   numa: generalize numa_map_to_online_node()
>   sched/fair: fix opencoded numa_nearest_node()
>   sched: fix sched_numa_find_nth_cpu() in CPU-less case
>   sched: fix sched_numa_find_nth_cpu() in non-NUMA case
>   sched: handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
>   sched: fix sched_numa_find_nth_cpu() comment
> 
>  include/linux/numa.h     |  7 +++++--
>  include/linux/topology.h |  2 +-
>  kernel/sched/fair.c      | 14 +-------------
>  kernel/sched/topology.c  | 25 +++++++++++++++++--------
>  lib/cpumask.c            |  4 +---
>  mm/mempolicy.c           | 18 +++++++++++-------
>  6 files changed, 36 insertions(+), 34 deletions(-)
> 
> -- 
> 2.39.2
Re: [PATCH v2 0/6] sched fixes
Posted by Yury Norov 1 year, 12 months ago
Another ping... 

On Fri, Aug 25, 2023 at 04:31:44AM -0700, Yury Norov wrote:
> Ping?
> 
> On Sat, Aug 19, 2023 at 07:12:32AM -0700, Yury Norov wrote:
> > Fixes for recently introduced sched_numa_find_nth_cpu(), and minor
> > improvements in sched/fair.
> > 
> > v1: https://lore.kernel.org/lkml/20230810162442.9863-1-yury.norov@gmail.com/T/
> > v2:
> >  - fix wording in commit messages;
> >  - move nearest node search inside rcu lock section in
> >    sched_numa_find_nth_cpu();
> >  - move NUMA_NO_NODE handling inside sched_numa_find_nth_cpu();
> >  - rewrite comment for sched_numa_find_nth_cpu().
> >  - add review tag from Yicong Yang.
> > 
> > Yury Norov (6):
> >   numa: generalize numa_map_to_online_node()
> >   sched/fair: fix opencoded numa_nearest_node()
> >   sched: fix sched_numa_find_nth_cpu() in CPU-less case
> >   sched: fix sched_numa_find_nth_cpu() in non-NUMA case
> >   sched: handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
> >   sched: fix sched_numa_find_nth_cpu() comment
> > 
> >  include/linux/numa.h     |  7 +++++--
> >  include/linux/topology.h |  2 +-
> >  kernel/sched/fair.c      | 14 +-------------
> >  kernel/sched/topology.c  | 25 +++++++++++++++++--------
> >  lib/cpumask.c            |  4 +---
> >  mm/mempolicy.c           | 18 +++++++++++-------
> >  6 files changed, 36 insertions(+), 34 deletions(-)
> > 
> > -- 
> > 2.39.2