|
@@ -1866,10 +1866,7 @@ static int inactive_anon_is_low_global(struct zone *zone)
|
|
active = zone_page_state(zone, NR_ACTIVE_ANON);
|
|
active = zone_page_state(zone, NR_ACTIVE_ANON);
|
|
inactive = zone_page_state(zone, NR_INACTIVE_ANON);
|
|
inactive = zone_page_state(zone, NR_INACTIVE_ANON);
|
|
|
|
|
|
- if (inactive * zone->inactive_ratio < active)
|
|
|
|
- return 1;
|
|
|
|
-
|
|
|
|
- return 0;
|
|
|
|
|
|
+ return inactive * zone->inactive_ratio < active;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|