lkml.org 
[lkml]   [2008]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch 11/20] No Reclaim LRU Infrastructure
From
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.


\
 
 \ /
  Last update: 2008-03-05 01:51    [W:0.075 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site