linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: memcg: remove checking reclaim order in soft limit reclaim
@ 2012-01-17 12:47 Hillf Danton
  2012-01-17 13:16 ` Michal Hocko
  0 siblings, 1 reply; 8+ messages in thread
From: Hillf Danton @ 2012-01-17 12:47 UTC (permalink / raw)
  To: linux-mm
  Cc: Michal Hocko, Johannes Weiner, KAMEZAWA Hiroyuki, Hugh Dickins,
	Andrew Morton, LKML, Hillf Danton

If async order-O reclaim expected here, it is settled down when setting up scan
control, with scan priority hacked to be zero. Other than that, deny of reclaim
should be removed.


Signed-off-by: Hillf Danton <dhillf@gmail.com>
---

--- a/mm/memcontrol.c	Tue Jan 17 20:41:36 2012
+++ b/mm/memcontrol.c	Tue Jan 17 20:47:48 2012
@@ -3512,9 +3512,6 @@ unsigned long mem_cgroup_soft_limit_recl
 	unsigned long long excess;
 	unsigned long nr_scanned;

-	if (order > 0)
-		return 0;
-
 	mctz = soft_limit_tree_node_zone(zone_to_nid(zone), zone_idx(zone));
 	/*
 	 * This loop can run a while, specially if mem_cgroup's continuously

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-18 15:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-17 12:47 [PATCH] mm: memcg: remove checking reclaim order in soft limit reclaim Hillf Danton
2012-01-17 13:16 ` Michal Hocko
2012-01-17 13:29   ` Hillf Danton
2012-01-17 14:07     ` Michal Hocko
2012-01-18 12:30       ` Hillf Danton
2012-01-18 13:40         ` Michal Hocko
2012-01-18 14:01           ` Hillf Danton
2012-01-18 15:13             ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).