From 30a579da4f065011a1f43d8b32796429082ae9c1 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Wed, 22 Aug 2007 14:01:25 -0700 Subject: [PATCH] --- yaml --- r: 64232 b: refs/heads/master c: e9187bdcbbc06090757d565a3077e1b0ecab23d2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/mm/vmscan.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4dfcf3c383c8..686f87fe2a73 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0cd82ef1fb8909d6d414f36f291c2f67ca70e2be +refs/heads/master: e9187bdcbbc06090757d565a3077e1b0ecab23d2 diff --git a/trunk/mm/vmscan.c b/trunk/mm/vmscan.c index d419e10e3daa..99ec7fac33e0 100644 --- a/trunk/mm/vmscan.c +++ b/trunk/mm/vmscan.c @@ -777,6 +777,7 @@ static unsigned long shrink_inactive_list(unsigned long max_scan, (sc->order > PAGE_ALLOC_COSTLY_ORDER)? ISOLATE_BOTH : ISOLATE_INACTIVE); nr_active = clear_active_flags(&page_list); + __count_vm_events(PGDEACTIVATE, nr_active); __mod_zone_page_state(zone, NR_ACTIVE, -nr_active); __mod_zone_page_state(zone, NR_INACTIVE,