]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: fix comment typo
authorEric Blake <eblake@redhat.com>
Wed, 9 Jan 2013 23:39:18 +0000 (16:39 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 9 Jan 2013 23:45:59 +0000 (16:45 -0700)
While OOM can have knock-on effects that trash a system, generally
the first symptom is one of memory thrashing.

* src/qemu/qemu_cgroup.c (qemuSetupCgroup): Reword slightly.

src/qemu/qemu_cgroup.c

index 16a9d7c36a16f3791a3ddbb4a0a2c550c85db534..6527146f3f08a93971934c863943cc84fdd7bc9b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * qemu_cgroup.c: QEMU cgroup management
  *
- * Copyright (C) 2006-2012 Red Hat, Inc.
+ * Copyright (C) 2006-2013 Red Hat, Inc.
  * Copyright (C) 2006 Daniel P. Berrange
  *
  * This library is free software; you can redistribute it and/or
@@ -344,8 +344,8 @@ int qemuSetupCgroup(virQEMUDriverPtr driver,
 
         if (!hard_limit) {
             /* If there is no hard_limit set, set a reasonable one to avoid
-             * system trashing caused by exploited qemu.  As 'reasonable limit'
-             * has been chosen:
+             * system thrashing caused by exploited qemu.  A 'reasonable
+             * limit' has been chosen:
              *     (1 + k) * (domain memory + total video memory) + (32MB for
              *     cache per each disk) + F
              * where k = 0.5 and F = 200MB.  The cache for disks is important as