Re: mmotm 2008-11-14-17-14 uploaded

From: KAMEZAWA Hiroyuki
Date: Fri Nov 14 2008 - 23:18:20 EST


Sorry, again.
a fix for memcg-add-mem_cgroup_disabled-fix.patch
please ignore previous mail...

==

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
---
include/linux/memcontrol.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: mmotm-2.6.28-Nov14/include/linux/memcontrol.h
===================================================================
--- mmotm-2.6.28-Nov14.orig/include/linux/memcontrol.h
+++ mmotm-2.6.28-Nov14/include/linux/memcontrol.h
@@ -19,7 +19,7 @@

#ifndef _LINUX_MEMCONTROL_H
#define _LINUX_MEMCONTROL_H
-
+#include <linux/cgroup.h>
struct mem_cgroup;
struct page_cgroup;
struct page;
Index: mmotm-2.6.28-Nov14/mm/memcontrol.c
===================================================================
--- mmotm-2.6.28-Nov14.orig/mm/memcontrol.c
+++ mmotm-2.6.28-Nov14/mm/memcontrol.c
@@ -301,7 +301,7 @@ void mem_cgroup_rotate_lru_list(struct p
struct mem_cgroup_per_zone *mz;
struct page_cgroup *pc;

- if (mem_cgroup_diabled())
+ if (mem_cgroup_disabled())
return;

pc = lookup_page_cgroup(page);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/