summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2024-02-02 12:51:26 -0500
committerMike Pagano <mpagano@gentoo.org>2024-02-02 12:51:26 -0500
commite1da7b68300d4d9a80469833fa0e47732bed5f5a (patch)
treee7b0c2d02edaca4fa7b38d770d16d70f90c17264
parentLinux patch 6.7.3 (diff)
downloadlinux-patches-e1da7b68300d4d9a80469833fa0e47732bed5f5a.tar.gz
linux-patches-e1da7b68300d4d9a80469833fa0e47732bed5f5a.tar.bz2
linux-patches-e1da7b68300d4d9a80469833fa0e47732bed5f5a.zip
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@gentoo.org>
-rw-r--r--5020_BMQ-and-PDS-io-scheduler-v6.7-r2.patch19
1 files changed, 19 insertions, 0 deletions
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
+