Messages in this thread | | | Date | Wed, 05 Mar 2008 09:34:29 +0900 | Subject | Re: [patch 11/20] No Reclaim LRU Infrastructure | From | minchan Kim <> |
| |
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.
| |