]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: don't setup cpuset.mems if memory mode in numatune is not 'strict'
authorWang Rui <moon.wangrui@huawei.com>
Mon, 10 Nov 2014 13:53:18 +0000 (21:53 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Nov 2014 11:14:09 +0000 (12:14 +0100)
commit8a3844f8189af257ff3f5aa298eda55b73f2a4d3
tree7381e67969d7ab8d80553d7a03561fa53073edf3
parent38a0f6df6473edb62e9ce25df5a0a81e8ac81d77
lxc: don't setup cpuset.mems if memory mode in numatune is not 'strict'

If the memory mode in numatune is not 'strict', we should not setup
cpuset.mems. Before commit 1a7be8c600905aa07ac2d78293336ba8523ad48e
we have checked the memory mode in virDomainNumatuneGetNodeset. This
patch adds the check as before.

Signed-off-by: Wang Rui <moon.wangrui@huawei.com>
src/lxc/lxc_cgroup.c