diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2023-12-06 13:43:17 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-12 22:36:18 +0300 |
commit | ec0f96260737ae23dcad57463fdc32eba025b11d (patch) | |
tree | 9245a1a2b69dd606be21ec3114ae0b376013368c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9ecc3b38abebd18998af40f42029ba84f3f4311c (diff) | |
download | linux-ec0f96260737ae23dcad57463fdc32eba025b11d.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions