Skip to content

Commit 61a182a

Browse files
Xiongwei Songhtejun
authored andcommitted
cgroup/cpuset: Remove cpuset_do_slab_mem_spread()
The SLAB allocator has been removed sine 6.8-rc1 [1], so there is no user with SLAB_MEM_SPREAD and cpuset_do_slab_mem_spread(). Then SLAB_MEM_SPREAD is marked as unused by [2]. Here we can remove cpuset_do_slab_mem_spread(). For more details, please check [3]. [1] https://lore.kernel.org/linux-mm/[email protected]/ [2] https://lore.kernel.org/linux-kernel/[email protected]/T/ [3] https://lore.kernel.org/lkml/[email protected]/T/#mf14b838c5e0e77f4756d436bac3d8c0447ea4350 Signed-off-by: Xiongwei Song <[email protected]> Reviewed-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 8d4c171 commit 61a182a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/linux/cpuset.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ static inline int cpuset_do_page_mem_spread(void)
121121
return task_spread_page(current);
122122
}
123123

124-
static inline int cpuset_do_slab_mem_spread(void)
125-
{
126-
return task_spread_slab(current);
127-
}
128-
129124
extern bool current_cpuset_is_being_rebound(void);
130125

131126
extern void rebuild_sched_domains(void);
@@ -264,11 +259,6 @@ static inline int cpuset_do_page_mem_spread(void)
264259
return 0;
265260
}
266261

267-
static inline int cpuset_do_slab_mem_spread(void)
268-
{
269-
return 0;
270-
}
271-
272262
static inline bool current_cpuset_is_being_rebound(void)
273263
{
274264
return false;

0 commit comments

Comments
 (0)