mbox series

[v2,0/6] sched fixes

Message ID 20230819141239.287290-1-yury.norov@gmail.com (mailing list archive)
Headers show
Series sched fixes | expand

Message

Yury Norov Aug. 19, 2023, 2:12 p.m. UTC
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(-)

Comments

Yury Norov Aug. 25, 2023, 11:31 a.m. UTC | #1
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
Yury Norov Sept. 13, 2023, 12:01 a.m. UTC | #2
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