Commit 4101b2fe authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Aichun Shi
Browse files

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: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221025201057.751153381@infradead.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent 1f90a7fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment