Re: [PATCH] Memory usage limit notification addition to memcg

From: Dan Malek
Date: Wed Apr 15 2009 - 03:32:44 EST



On Apr 14, 2009, at 7:58 PM, KAMEZAWA Hiroyuki wrote:

Memory cgroup is a feature both for very-small-system and very- large-system.

XXMB(KB) for limit is an idea.
# echo 100MB > memory.limit_in_bytes.
# echo 5MB > memory.notify_triger_thresh_in_bytes.

Notify will be generated at 95MB of usage.

I get it, I'll change it.

The VM monitor application will work like

I see. Let me finish my patch first, then we
can discuss this some more?

Thanks.

-- Dan

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