Re: mmotm 2008-12-15-16-45 uploaded (build errors)

From: KOSAKI Motohiro
Date: Tue Dec 16 2008 - 00:40:09 EST


> > akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > > The mm-of-the-moment snapshot 2008-12-15-16-45 has been uploaded to
> > >
> > > http://userweb.kernel.org/~akpm/mmotm/
> > >
> > > It contains the following patches against 2.6.28-rc8:
> >
> >
> > Summary of build errors:
> >
> > i386
> > =====
> > build-r7178.out:/local/linsrc/tmp/mmotm-2008-1215-1645/mm/vmscan.c:1397: error: too few arguments to function 'mem_cgroup_inactive_anon_is_low'
> > build-r7178.out:make[2]: *** [mm/vmscan.o] Error 1
>
> I think my fault.
> I'll investigate soon.

fixing is here.


==========================================================
Applied after: memcg-fix-calclation-of-active_ratio.patch

==
Subject: [mmotm][PATCH] memcg: fix calclation of active_ratio build error fix

fix following build error

CC mm/vmscan.o
mm/vmscan.c: In function 'inactive_anon_is_low':
mm/vmscan.c:1397: error: too few arguments to function 'mem_cgroup_inactive_anon_is_low'


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
---
include/linux/memcontrol.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/include/linux/memcontrol.h
===================================================================
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -243,7 +243,7 @@ static inline bool mem_cgroup_oom_called
}

static inline int
-mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg, struct zone *zone)
+mem_cgroup_inactive_anon_is_low(struct mem_cgroup *memcg)
{
return 1;
}



--
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/