Re: [patch 11/20] No Reclaim LRU Infrastructure

From: minchan Kim
Date: Tue Mar 04 2008 - 19:48:06 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/