diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2024-07-13 10:59:16 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-31 00:29:08 +0200 |
commit | c149c4a48b19afbf0c383614e57b452d39b154de (patch) | |
tree | 82c610028f495dc5acdbf93d001fd6e8ac9166ad /kernel/cgroup | |
parent | cgroup/pids: Avoid spurious event notification (diff) | |
download | linux-c149c4a48b19afbf0c383614e57b452d39b154de.tar.xz linux-c149c4a48b19afbf0c383614e57b452d39b154de.zip |
cgroup/cpuset: Remove cpuset_slab_spread_rotor
Since the SLAB implementation was removed in v6.8, so the
cpuset_slab_spread_rotor is no longer used and can be removed.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/cpuset.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 918268bc03a7..9f9e626dabb0 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -5013,19 +5013,6 @@ int cpuset_mem_spread_node(void) } /** - * cpuset_slab_spread_node() - On which node to begin search for a slab page - */ -int cpuset_slab_spread_node(void) -{ - if (current->cpuset_slab_spread_rotor == NUMA_NO_NODE) - current->cpuset_slab_spread_rotor = - node_random(¤t->mems_allowed); - - return cpuset_spread_node(¤t->cpuset_slab_spread_rotor); -} -EXPORT_SYMBOL_GPL(cpuset_mem_spread_node); - -/** * cpuset_mems_allowed_intersects - Does @tsk1's mems_allowed intersect @tsk2's? * @tsk1: pointer to task_struct of some task. * @tsk2: pointer to task_struct of some other task. |