[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47CDEA95.9050507@gmail.com>
Date: Wed, 05 Mar 2008 09:34:29 +0900
From: minchan Kim <minchan.kim@...il.com>
To: Rik van Riel <riel@...hat.com>
CC: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Lee Schermerhorn <Lee.Schermerhorn@...com>
Subject: Re: [patch 11/20] No Reclaim LRU Infrastructure
Hi, Rik.
This is another trivial thing.
> /*
> * Drain pages out of the cpu's pagevecs.
> * Either "cpu" is the current CPU, and preemption has already been
>@@ -353,6 +375,8 @@ void release_pages(struct page **pages,
>
> if (PageLRU(page)) {
> struct zone *pagezone = page_zone(page);
>+ int is_lru_page;
>+
> if (pagezone != zone) {
> if (zone)
> spin_unlock_irqrestore(&zone->lru_lock,
We don't use is_lru_page any more.
It cause warning at compile time.
We can remove is_lru_page local variable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists