git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a0d9a9
)
Pass cgroup_disable=memory, saves ~ 5MB of RAM.
author
Richard Jones
<rjones@trick.home.annexia.org>
Fri, 24 Jul 2009 08:31:49 +0000
(09:31 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Fri, 24 Jul 2009 08:31:49 +0000
(09:31 +0100)
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
db6db91
..
72cd2f3
100644
(file)
--- 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,