Lines Matching refs:node

189  * memory_hotplug.auto_movable_numa_aware: consider numa node stats
195 "Consider numa node stats in addition to global stats in "
696 static void node_states_set_node(int node, struct memory_notify *arg)
699 node_set_state(node, N_NORMAL_MEMORY);
702 node_set_state(node, N_MEMORY);
1243 /* init node's zones as empty zones, we don't have any present pages.*/
1247 * The node we allocated has no zone fallback lists. For avoiding
1256 * __try_online_node - online a node if offlined
1257 * @nid: the node ID
1258 * @set_node_online: Whether we want to online the node
1259 * called by cpu_up() to online a node without onlined memory.
1262 * 1 -> a new node has been allocated
1263 * 0 -> the node is already online
1264 * -ENOMEM -> the node could not be allocated
1276 pr_err("Cannot online node %d due to NULL pgdat\n", nid);
1291 * Users of this function always want to online/register the node
1423 WARN(1, "node %d was absent from the node_possible_map\n", nid);
1472 /* If sysfs file of new node can't be created, cpu on the node
1475 * We online node here. We can't roll back from here.
1786 * try to allocate from a different node but reuse this node
1788 * offlining a part of the only existing node)
1831 * thus we can determine that we need to clear the node from
1845 * we know that the node will become empty, and so, we can clear
1854 static void node_states_clear_node(int node, struct memory_notify *arg)
1857 node_clear_state(node, N_NORMAL_MEMORY);
1860 node_clear_state(node, N_MEMORY);
1880 const int node = zone_to_nid(zone);
2027 node_states_clear_node(node, &arg);
2029 kcompactd_stop(node);
2030 kswapd_stop(node);
2032 zswapd_stop(node);
2096 * the cpu on this node isn't removed, and we can't
2097 * offline this node.
2112 * offlined) and, therefore, are still spanned by the node.
2119 * @nid: the node ID
2121 * Offline a node if all memory sections and cpus of the node are removed.
2131 * If the node still spans pages (especially ZONE_DEVICE), don't
2132 * offline it. A node spans memory after move_pfn_range_to_zone(),
2140 * node. They will get spanned by the node once they get onlined.
2141 * However, they link to the node in sysfs and can get onlined later.
2151 * all memory/cpu of this node are removed, we can offline this
2152 * node now.