Re: [PATCH v4 06/25] memcg: Make it possible to use the stock formore than one page.

From: Glauber Costa
Date: Mon Jun 25 2012 - 09:06:01 EST


On 06/20/2012 05:28 PM, Michal Hocko wrote:
I guess you want:
if (nr_pages > CHARGE_BATCH)
return false;

because you don't want to try to use stock for THP pages.

Done, thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/