On Thu, 28 Jun 2012, Kamezawa Hiroyuki wrote: > For handling many kinds of races, memcg adds an extra charge to > page's memcg at page migration. But this affects the page compaction > and make it fail if the memcg is under OOM. > > This patch uses res_counter_charge_nofail() in page migration path > and remove -ENOMEM. By this, page migration will not fail by the > status of memcg. > > Reported-by: David Rientjes <rientjes@xxxxxxxxxx> > Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> This is a very good improvement for page migration under memory compaction and increases the liklihood that it will do useful work for transparent hugepage allocations, thanks! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>