Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 918d3f90 authored by Shantanu Goel's avatar Shantanu Goel Committed by Linus Torvalds
Browse files

[PATCH] Buglet in vmscan.c



Fix a rather obvious buglet.  Noticed while instrumenting the VM using
/proc/vmstat.

Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 463cab36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -692,7 +692,7 @@ static unsigned long shrink_inactive_list(unsigned long max_scan,
			__count_vm_events(KSWAPD_STEAL, nr_freed);
		} else
			__count_zone_vm_events(PGSCAN_DIRECT, zone, nr_scan);
		__count_vm_events(PGACTIVATE, nr_freed);
		__count_zone_vm_events(PGSTEAL, zone, nr_freed);

		if (nr_taken == 0)
			goto done;