diff options
author | Christoph Lameter <cl@linux.com> | 2012-11-28 17:23:07 +0100 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-12-11 11:14:27 +0100 |
commit | dffb4d605c23110e3ad54b8c9f244a8235c013c2 (patch) | |
tree | ba69e37ef8c5c69ea4ae68b2f3679ab77697613a /mm/slab.c | |
parent | mm, sl[au]b: create common functions for boot slab creation (diff) | |
download | linux-dffb4d605c23110e3ad54b8c9f244a8235c013c2.tar.xz linux-dffb4d605c23110e3ad54b8c9f244a8235c013c2.zip |
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