lkml.org 
[lkml]   [2008]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm 07/12] second chance replacement for anonymous pages
* Rik van Riel <riel@redhat.com> [2008-05-29 16:22:53]:

> From: Rik van Riel <riel@redhat.com>
>
> + if (lru == LRU_ACTIVE_ANON &&
> + (!scan_global_lru(sc) || inactive_anon_low(zone))) {
> shrink_active_list(nr_to_scan, zone, sc, priority, file);
> return 0;
> }

This should do the trick. I was playing around with v8 and came up
with the exact same fix, after having spent some time reviewing and
playing around with the code.

Let me bundle up all of V9 and test it.

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL


\
 
 \ /
  Last update: 2008-06-01 22:09    [from the cache]
©2003-2011 Jasper Spaans