Re: [PATCH v2] memcg: Add memory.pressure_level events

From: Tejun Heo
Date: Tue Feb 19 2013 - 19:21:34 EST


Hello,

On Tue, Feb 19, 2013 at 4:17 PM, Minchan Kim <minchan@xxxxxxxxxx> wrote:
> Should we really enable memcg for just pressure notificaion in embedded side?
> I didn't check the size(cgroup + memcg) and performance penalty but I don't want
> to add unnecessary overhead if it is possible.
> Do you have a plan to support it via global knob(ie, /proc/mempressure), NOT memcg?

That should be handled by mempressure at the root cgroup. If that adds
significant amount of overhead code or memory-wise, we just need to
fix root cgroup handling in memcg. No reason to further complicate the
interface which already is pretty complex.

Thanks.

--
tejun
--
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/