summaryrefslogtreecommitdiffstats
path: root/mm/Makefile
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2020-02-16 12:00:53 -0800
committerDan Williams <dan.j.williams@intel.com>2020-02-17 10:49:06 -0800
commit4fcbe96e4d0bc4abe22ee10573ff663b9ebbcf17 (patch)
treeac42db6d9f6c7872aaa8505445838c6127683bd8 /mm/Makefile
parentb2ca916ce392a9d4cea3489a3efb2b627b839eaf (diff)
downloadlinux-stable-4fcbe96e4d0bc4abe22ee10573ff663b9ebbcf17.tar.gz
linux-stable-4fcbe96e4d0bc4abe22ee10573ff663b9ebbcf17.tar.bz2
linux-stable-4fcbe96e4d0bc4abe22ee10573ff663b9ebbcf17.zip
mm/numa: Skip NUMA_NO_NODE and online nodes in numa_map_to_online_node()
Update numa_map_to_online_node() to stop falling back to numa node 0 when the input is NUMA_NO_NODE. Also, skip the lookup if @node is online. This makes the routine compatible with other arch node mapping routines. Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Link: https://lore.kernel.org/r/157401275716.43284.13185549705765009174.stgit@dwillia2-desk3.amr.corp.intel.com Reviewed-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/158188325316.894464.15650888748083329531.stgit@dwillia2-desk3.amr.corp.intel.com
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions