mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Rik van Riel <riel@redhat.com>
Cc: kosaki.motohiro@jp.fujitsu.com,
	LKML <linux-kernel@vger.kernel.org>,
	Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Subject: [mmotm 10 Oct][PATCH 2/2] fix build error of vmscan
Date: Sun, 12 Oct 2008 22:41:30 +0900 (JST)	[thread overview]
Message-ID: <20081012223946.181A.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <20081012223808.1817.KOSAKI.MOTOHIRO@jp.fujitsu.com>


Patch against: mmotm 10 Oct
Patch name: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix-fix.patch
Applied after: vmscan-fix-pagecache-reclaim-referenced-bit-check-fix-fix.patch


--------
vmscan-fix-pagecache-reclaim-referenced-bit-check-fix.patch introduce following build error.

  CC      mm/vmscan.o
mm/vmscan.c: In function 'shrink_active_list':
mm/vmscan.c:1248: error: too few arguments to function 'page_referenced'
make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: Rik van Riel <riel@redhat.com>
CC: Andrew Morton <akpm@linux-foundation.org>

---
 mm/vmscan.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: b/mm/vmscan.c
===================================================================
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1245,7 +1245,8 @@ static void shrink_active_list(unsigned 
 		}
 
 		/* page_referenced clears PageReferenced */
-		if (page_mapping_inuse(page) && page_referenced(page))
+		if (page_mapping_inuse(page) &&
+		    page_referenced(page, 0, sc->mem_cgroup))
 			pgmoved++;
 
 		list_add(&page->lru, &l_inactive);



  reply	other threads:[~2008-10-12 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12 13:39 [mmotm 10 Oct][PATCH 1/2] fix build error of git-tip KOSAKI Motohiro
2008-10-12 13:41 ` KOSAKI Motohiro [this message]
2008-10-12 15:28   ` [mmotm 10 Oct][PATCH 2/2] fix build error of vmscan Rik van Riel
2008-10-14  0:25   ` Hugh Dickins
2008-10-12 13:42 ` [mmotm 10 Oct][PATCH 1/2] fix build error of git-tip KOSAKI Motohiro

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=20081012223946.181A.KOSAKI.MOTOHIRO@jp.fujitsu.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=Lee.Schermerhorn@hp.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.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®