memcg: don't use bootmem allocator in setup code
authorYinghai Lu <yinghai@kernel.org>
Fri, 29 May 2009 01:15:16 +0000 (18:15 -0700)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 11 Jun 2009 16:27:10 +0000 (19:27 +0300)
commit959982fee4e635c61780e989c3e34267143fcc02
tree08ff2d07020a908a10bbebb64729ca5b325843f3
parentdad213aeb59718623fc59defeff95fe8c3feb8a0
memcg: don't use bootmem allocator in setup code

The bootmem allocator is no longer available for page_cgroup_init() because we
set up the kernel slab allocator much earlier now.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/page_cgroup.c