NUMA: hide non-existing nodes from /sys/devices/system/node listing
This commit is contained in:
@@ -679,6 +679,8 @@ static int setup_node_files(struct mcctrl_usrdata *udp)
|
||||
param.ptr = &udp->numa_online;
|
||||
sysfsm_createf(udp->os, SYSFS_SNOOPING_OPS_pbl, ¶m, 0444,
|
||||
"/sys/devices/system/node/online");
|
||||
sysfsm_createf(udp->os, SYSFS_SNOOPING_OPS_pbl, ¶m, 0444,
|
||||
"/sys/devices/system/node/possible");
|
||||
|
||||
list_for_each_entry(p, &udp->node_topology_list, chain) {
|
||||
struct sysfs_handle handle;
|
||||
|
||||
Reference in New Issue
Block a user