Files
tegra-linux-noble/include/linux
KAMEZAWA Hiroyuki ca371c0d7e memcg: fix page_cgroup fatal error in FLATMEM
Now, SLAB is configured in very early stage and it can be used in
init routine now.

But replacing alloc_bootmem() in FLAT/DISCONTIGMEM's page_cgroup()
initialization breaks the allocation, now.
(Works well in SPARSEMEM case...it supports MEMORY_HOTPLUG and
 size of page_cgroup is in reasonable size (< 1 << MAX_ORDER.)

This patch revive FLATMEM+memory cgroup by using alloc_bootmem.

In future,
We stop to support FLATMEM (if no users) or rewrite codes for flatmem
completely.But this will adds more messy codes and overheads.

Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2009-06-12 11:00:54 +03:00
..
2009-06-11 21:36:00 -04:00
2009-06-01 06:21:13 +00:00
2009-05-02 15:36:10 -07:00
2009-04-23 10:06:35 +01:00
2009-06-11 21:36:09 -04:00
2009-05-29 08:40:01 -07:00
2009-06-11 08:50:57 -07:00
2009-06-11 21:36:06 -04:00
2009-06-11 21:36:11 -04:00
2009-05-22 09:43:41 +10:00
2009-04-21 13:41:48 -07:00
2009-04-21 13:41:48 -07:00
2009-06-11 21:36:12 -04:00
2009-06-11 17:03:28 +01:00
2009-06-10 11:48:39 +03:00
2009-04-28 07:37:28 +02:00
2009-04-14 09:00:19 +10:00
2009-06-11 21:36:02 -04:00
2009-06-11 21:36:01 -04:00
2009-04-30 15:32:11 +00:00
2009-04-13 14:51:23 -07:00
2009-04-24 08:54:21 +02:00
2009-06-11 21:36:12 -04:00
2009-05-09 10:49:41 -04:00
2009-04-08 14:33:38 -07:00
2009-06-11 08:50:58 -07:00
2009-04-13 15:04:29 -07:00
2009-04-21 19:40:00 -07:00
2009-05-12 11:11:48 +02:00
2009-06-11 08:50:59 -07:00
2009-06-11 08:51:01 -07:00
2009-04-17 10:50:27 -07:00