diff options
author | Christoph Lameter <cl@linux.com> | 2012-11-28 16:23:07 +0000 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-12-11 12:14:27 +0200 |
commit | dffb4d605c23110e3ad54b8c9f244a8235c013c2 (patch) | |
tree | ba69e37ef8c5c69ea4ae68b2f3679ab77697613a /mm/slab.c | |
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>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions