]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
node_memory: Improve the docs
authorOsier Yang <jyang@redhat.com>
Mon, 24 Sep 2012 15:08:31 +0000 (23:08 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 25 Sep 2012 09:02:02 +0000 (17:02 +0800)
To declare that it's not recommended to use the tuning API while
the outside tuning program (such as ksmtuned under Linux) is running.

src/libvirt.c

index 0cbcfbf288d808d7b620b8dca2d3ae344b3b4a68..43591c09b9aa5dd15949f300173fb34512b1bd35 100644 (file)
@@ -6794,6 +6794,12 @@ error:
  * @flags: extra flags; not used yet, so callers should always pass 0
  *
  * Change all or a subset of the node memory tunables.
+ *
+ * Note that it's not recommended to use this function while the
+ * outside tuning program is running (such as ksmtuned under Linux),
+ * as they could change the tunables in parallel, which could cause
+ * conflicts.
+ *
  * This function may require privileged access to the hypervisor.
  *
  * Returns 0 in case of success, -1 in case of failure.