commit | 371375c6ab8cb9b666942eb288b80cc741f542ef | [log] [tgz] |
---|---|---|
author | Dave Kleikamp <dave.kleikamp@oracle.com> | Tue Aug 20 15:34:39 2013 -0500 |
committer | Jan Stancek <jstancek@redhat.com> | Tue Aug 27 14:19:03 2013 +0200 |
tree | 9183cf4ff568f42cd1a0bdda691f86818f272dac | |
parent | 5ab9e96fac3439d29214baf59e0c6776ab53028f [diff] |
lib/mem: handle missing online file gather_node_cpus() fails if the /sys/devices/system/node/nodeX/cpuX/online file is missing for any cpu other than cpu0. The absence of the online file should not be treated as a failure, but as an indication that the cpu is not hot-pluggable and cannot be taken offline. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Reviewed-by: Jan Stancek <jstancek@redhat.com>