Message ID | 20250207211104.30009-5-arighi@nvidia.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [1/6] mm/numa: Introduce numa_nearest_nodemask() | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
On Fri, Feb 07, 2025 at 09:40:51PM +0100, Andrea Righi wrote: > Introduce a new flag to restrict the selection of an idle CPU to a > single specific NUMA node. > > Signed-off-by: Andrea Righi <arighi@nvidia.com> > --- > kernel/sched/ext.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c > index 0063a646124bc..8dbe22167c158 100644 > --- a/kernel/sched/ext.c > +++ b/kernel/sched/ext.c > @@ -775,6 +775,7 @@ enum scx_deq_flags { > > enum scx_pick_idle_cpu_flags { > SCX_PICK_IDLE_CORE = 1LLU << 0, /* pick a CPU whose SMT siblings are also idle */ > + SCX_PICK_IDLE_IN_NODE = 1LLU << 1, /* pick a CPU in the same target NUMA node */ > }; Please merge this into the patch which actually uses the flag. Thanks.
diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c index 0063a646124bc..8dbe22167c158 100644 --- a/kernel/sched/ext.c +++ b/kernel/sched/ext.c @@ -775,6 +775,7 @@ enum scx_deq_flags { enum scx_pick_idle_cpu_flags { SCX_PICK_IDLE_CORE = 1LLU << 0, /* pick a CPU whose SMT siblings are also idle */ + SCX_PICK_IDLE_IN_NODE = 1LLU << 1, /* pick a CPU in the same target NUMA node */ }; enum scx_kick_flags {
Introduce a new flag to restrict the selection of an idle CPU to a single specific NUMA node. Signed-off-by: Andrea Righi <arighi@nvidia.com> --- kernel/sched/ext.c | 1 + 1 file changed, 1 insertion(+)