mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: akpm <akpm@linux-foundation.org>
Cc: kosaki.motohiro@jp.fujitsu.com,
	Randy Dunlap <randy.dunlap@oracle.com>,
	linux-kernel@vger.kernel.org
Subject: Re: mmotm 2008-12-15-16-45 uploaded (build errors)
Date: Tue, 16 Dec 2008 14:39:46 +0900 (JST)	[thread overview]
Message-ID: <20081216143853.DBA3.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <20081216131105.DB9A.KOSAKI.MOTOHIRO@jp.fujitsu.com>

> > 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;
 }




  reply	other threads:[~2008-12-16  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200812160046.mBG0k0YV024823@imap1.linux-foundation.org>
2008-12-16  3:56 ` Randy Dunlap
2008-12-16  4:01   ` Li Zefan
2008-12-16  4:11   ` KOSAKI Motohiro
2008-12-16  5:39     ` KOSAKI Motohiro [this message]
2008-12-16  5:42     ` [mmotm][PATCH] Add #include <linux/irqflags.h> to acpi/processor_idle.c KOSAKI Motohiro
2008-12-16  5:13 ` mmotm 2008-12-15-16-45 uploaded KAMEZAWA Hiroyuki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081216143853.DBA3.KOSAKI.MOTOHIRO@jp.fujitsu.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®