提交 bb145701 编写于 作者: O Osier Yang

node_memory: Improve the docs

To declare that it's not recommended to use the tuning API while
the outside tuning program (such as ksmtuned under Linux) is running.
上级 d165c54d
...@@ -6794,6 +6794,12 @@ error: ...@@ -6794,6 +6794,12 @@ error:
* @flags: extra flags; not used yet, so callers should always pass 0 * @flags: extra flags; not used yet, so callers should always pass 0
* *
* Change all or a subset of the node memory tunables. * 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. * This function may require privileged access to the hypervisor.
* *
* Returns 0 in case of success, -1 in case of failure. * Returns 0 in case of success, -1 in case of failure.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册