mirror_ubuntu-kernels/drivers/acpi/numa
Yuntao Wang ec0f962607 ACPI: NUMA: Optimize the check for the availability of node values
The first_unset_node() function returns the first unused node in
nodes_found_map. If all nodes are in use, the function returns
MAX_NUMNODES.

Use this return value to determine whether there are any available node
values in nodes_found_map, eliminating the need to use nodes_weight()
for this purpose.

Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-12-12 20:36:18 +01:00
..
hmat.c acpi, hmat: calculate abstract distance with HMAT 2023-10-16 15:44:39 -07:00
Kconfig arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00
Makefile
srat.c ACPI: NUMA: Optimize the check for the availability of node values 2023-12-12 20:36:18 +01:00