commit: e1da7b68300d4d9a80469833fa0e47732bed5f5a Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Fri Feb 2 17:51:26 2024 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Fri Feb 2 17:51:26 2024 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=e1da7b68
Add BMQ Fix.sched/topology: Introduce sched_numa_hop_mask See: https://gitlab.com/alfredchen/linux-prjc/-/commit/4693ad051b34ea70e3d39d3a6cdd072fec9f4878.patch Bug: https://bugs.gentoo.org/923454 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch b/5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch index 977bdcd6..4e71c3ef 100644 --- a/5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch +++ b/5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch @@ -11450,3 +11450,22 @@ index 2989b57e154a..7313d9f5585f 100644 work_data = *work_data_bits(work); worker->current_color = get_work_color(work_data); +diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c +index 120933a5b206..dc717683342e 100644 +--- a/kernel/sched/topology.c ++++ b/kernel/sched/topology.c +@@ -2813,5 +2813,11 @@ int sched_numa_find_nth_cpu(const struct cpumask *cpus, int cpu, int node) + { + return cpumask_nth(cpu, cpus); + } ++ ++const struct cpumask *sched_numa_hop_mask(unsigned int node, unsigned int hops) ++{ ++ return ERR_PTR(-EOPNOTSUPP); ++} ++EXPORT_SYMBOL_GPL(sched_numa_hop_mask); + #endif /* CONFIG_NUMA */ + #endif +-- +GitLab +
