mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
lib/group_cpus: Export group_cpus_evenly()
Export group_cpus_evenly() so that some modules can make use of it to group CPUs evenly according to NUMA and CPU locality. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230323053043.35-2-xieyongji@bytedance.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
e9d67e59f1
commit
aaf0594829
@ -426,3 +426,4 @@ struct cpumask *group_cpus_evenly(unsigned int numgrps)
|
||||
return masks;
|
||||
}
|
||||
#endif /* CONFIG_SMP */
|
||||
EXPORT_SYMBOL_GPL(group_cpus_evenly);
|
||||
|
Loading…
Reference in New Issue
Block a user