lkml.org 
[lkml]   [2008]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: mmotm 2008-12-15-16-45 uploaded (build errors)
Date
> > akpm@linux-foundation.org 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@jp.fujitsu.com>
---
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;
}




\
 
 \ /
  Last update: 2008-12-16 06:43    [W:0.273 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site