]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
node_memory: Add new parameter field to tune the new sysfs knob
authorOsier Yang <jyang@redhat.com>
Fri, 12 Oct 2012 08:25:42 +0000 (16:25 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 15 Oct 2012 09:35:54 +0000 (17:35 +0800)
commitf81f0f2f1d703a84d94018b99f38500ad7b63085
treeeaa3a605a730bd9013372041702642e02bf2ecc1
parent6bde0a1a37424c84492658223ff845b1ebb0e25c
node_memory: Add new parameter field to tune the new sysfs knob

Upstream kernel introduced new sysfs knob "merge_across_nodes" to
specify if pages from different numa nodes can be merged. When set
to 0, only pages which physically reside in the memory area of
same NUMA node can be merged. When set to 1, pages from all nodes
can be merged.

This patch supports the tuning by adding new param field
"shm_merge_across_nodes".
include/libvirt/libvirt.h.in
src/nodeinfo.c
tools/virsh-host.c
tools/virsh.pod