mm: Move mm_cachep initialization to mm_init()
stable inclusion from stable-v5.10.189 commit 1ff14defdfc9180bfcfd76a70463a5feb188a5db category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8LVBS CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1ff14defdfc9180bfcfd76a70463a5feb188a5db ------------------------------------- Intel-SIG: commit 1ff14defdfc9 ("mm: Move mm_cachep initialization to mm_init()") Backport x86 related patches from 5.10.189 upstream ------------------------------------- commit af806027 upstream. 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 Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment