diff options
author | Peter Zijlstra | 2022-10-25 21:38:18 +0200 |
---|---|---|
committer | Dave Hansen | 2022-12-15 10:37:26 -0800 |
commit | af80602799681c78f14fbe20b6185a56020dedee (patch) | |
tree | 3ce25b00c8bc5261899ce15b8031becd7a0d480b /include | |
parent | 97e3d26b5e5f371b3ee223d94dd123e6c442ba80 (diff) |
mm: Move mm_cachep initialization to mm_init()
In order to allow using mm_alloc() much earlier, move initializing
mm_cachep into mm_init().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221025201057.751153381@infradead.org
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched/task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h index d6c48163c6de..8431558641a4 100644 --- a/include/linux/sched/task.h +++ b/include/linux/sched/task.h @@ -65,6 +65,7 @@ extern void sched_dead(struct task_struct *p); void __noreturn do_task_dead(void); void __noreturn make_task_dead(int signr); +extern void mm_cache_init(void); extern void proc_caches_init(void); extern void fork_init(void); |