commit | dffb4d605c23110e3ad54b8c9f244a8235c013c2 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Wed Nov 28 16:23:07 2012 +0000 |
committer | Pekka Enberg <penberg@kernel.org> | Tue Dec 11 12:14:27 2012 +0200 |
tree | ba69e37ef8c5c69ea4ae68b2f3679ab77697613a | |
parent | 45530c4474d258b822e2639c786606d8257aad8b [diff] |
slub: Use statically allocated kmem_cache boot structure for bootstrap Simplify bootstrap by statically allocated two kmem_cache structures. These are freed after bootup is complete. Allows us to no longer worry about calculations of sizes of kmem_cache structures during bootstrap. Reviewed-by: Glauber Costa <glommer@parallels.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>