[systemd-devel] [PATCH 0/3] Add support for setting limit of memory + swap usage
Chen Hanxiao
chenhanxiao at cn.fujitsu.com
Mon Sep 16 23:21:25 PDT 2013
From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
Add support for setting limit of memory + swap usage.
So programes like libvirt could set it via systemd.
Users could also set this via systemctl command.
Chen Hanxiao (3):
Enable systemd to set/show limit of memory+Swap usage
Add support for systemctl to set limit of memory+Swap usage
Add support for showing limit of memory+Swap usage via
cgroup_context_dump
src/core/cgroup.c | 13 +++++++++++++
src/core/cgroup.h | 1 +
src/core/dbus-cgroup.c | 18 ++++++++++++++++++
src/core/load-fragment-gperf.gperf.m4 | 1 +
src/systemctl/systemctl.c | 3 ++-
5 files changed, 35 insertions(+), 1 deletion(-)
--
1.8.2.1
More information about the systemd-devel
mailing list