-
由 Joonsoo Kim 提交于
There are mostly same code for setting up kmem_cache_node either in cpuup_prepare() or alloc_kmem_cache_node(). Factor out and clean-up them. Signed-off-by: NJoonsoo Kim <iamjoonsoo.kim@lge.com> Tested-by: NNishanth Menon <nm@ti.com> Tested-by: NJon Hunter <jonathanh@nvidia.com> Acked-by: NChristoph Lameter <cl@linux.com> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
c3d332b6