Query: find_next_best_node
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FIND_NEXT_BEST_NODE(9) Memory Management in Linux FIND_NEXT_BEST_NODE(9)NAMEfind_next_best_node - find the next node that should appear in a given node's fallback listSYNOPSISint find_next_best_node(int node, nodemask_t * used_node_mask);ARGUMENTSnode node whose fallback list we're appending used_node_mask nodemask_t of already used nodesDESCRIPTIONWe use a number of factors to determine which is the next node that should appear on a given node's fallback list. The node should not have appeared already in node's fallback list, and it should be the next closest node according to the distance array (which contains arbitrary distance values from each node to each node in the system), and should also prefer nodes with no CPUs, since presumably they'll have very little allocation pressure on them otherwise. It returns -1 if no node is found.COPYRIGHTKernel Hackers Manual 3.10 June 2014 FIND_NEXT_BEST_NODE(9)