From: Richard Jones Date: Fri, 24 Jul 2009 08:31:49 +0000 (+0100) Subject: Pass cgroup_disable=memory, saves ~ 5MB of RAM. X-Git-Tag: 1.0.65~24 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9e8e99c921bccb9ac3b3965a7d689ff443799426;p=libguestfs.git Pass cgroup_disable=memory, saves ~ 5MB of RAM. --- diff --git a/src/guestfs.c b/src/guestfs.c index db6db91..72cd2f3 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -1043,7 +1043,8 @@ guestfs_launch (guestfs_h *g) "console=ttyS0 " /* serial console */ \ "udevtimeout=300 " /* good for very slow systems (RHBZ#480319) */ \ "noapic " /* workaround for RHBZ#502058 - ok if not SMP */ \ - "acpi=off " /* we don't need ACPI, turn it off */ + "acpi=off " /* we don't need ACPI, turn it off */ \ + "cgroup_disable=memory " /* saves us about 5 MB of RAM */ /* Linux kernel command line. */ snprintf (append, sizeof append,