]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: Move pgtable_cache_init() earlier
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Jun 2009 03:48:39 +0000 (13:48 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 04:14:42 +0000 (21:14 -0700)
commitc868d550115b9ccc0027c67265b9520790f05601
treea3f9cde54f616e8d69005b217e917cd8025c33d3
parent517d08699b250021303f9a7cf0d758b6dc0748ed
mm: Move pgtable_cache_init() earlier

Some architectures need to initialize SLAB caches to be able
to allocate page tables. They do that from pgtable_cache_init()
so the later should be called earlier now, best is before
vmalloc_init().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c