Messages in this thread |  | | | Date | Mon, 2 Jun 2008 01:34:12 +0530 | | From | Balbir Singh <> | | Subject | Re: [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
|  |