Hello,
On Fri, Aug 28, 2015 at 07:06:13PM +0200, Michal Hocko wrote:
I do not think this a better behavior. If you have parallel charges to
the same memcg then you can easilly over-reclaim because everybody
will reclaim the maximum rather than its contribution.
Sure we can fail to reclaim the target and slowly grow over high limit
but that is to be expected. This is not the max limit which cannot be
breached and external memory pressure/reclaim is there to mitigate that.
Ah, I see, yeah, over-reclaim can happen. How about just wrapping the
over-high reclaim with a per-memcg mutex? Do we gain anything by
putting multiple tasks into the reclaim path?
Thanks.
--
tejun
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>