projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] rtc-at91rm9200 build fix
[powerpc.git]
/
mm
/
vmscan.c
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index
e9813b0
..
40fea49
100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-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(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;
if (nr_taken == 0)
goto done;
@@
-1369,8
+1369,8
@@
void wakeup_kswapd(struct zone *zone, int order)
*
* For pass > 3 we also try to shrink the LRU lists that contain a few pages
*/
*
* For pass > 3 we also try to shrink the LRU lists that contain a few pages
*/
-static unsigned long shrink_all_zones(unsigned long nr_pages, int p
ass
,
- int p
rio
, struct scan_control *sc)
+static unsigned long shrink_all_zones(unsigned long nr_pages, int p
rio
,
+ int p
ass
, struct scan_control *sc)
{
struct zone *zone;
unsigned long nr_to_scan, ret = 0;
{
struct zone *zone;
unsigned long nr_to_scan, ret = 0;