diff options
author | 2023-12-07 21:10:01 +0800 | |
---|---|---|
committer | 2023-12-08 10:31:00 +0200 | |
commit | 2159bd4e905704b1765b6b883ea15e51ad986a6a (patch) | |
tree | a61f270a53d2266304fc0ff7baa105d6fdff98fe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.7-rc4 (diff) | |
download | wireguard-linux-2159bd4e905704b1765b6b883ea15e51ad986a6a.tar.xz wireguard-linux-2159bd4e905704b1765b6b883ea15e51ad986a6a.zip |
memblock: Return NUMA_NO_NODE instead of -1 to improve code readability
When no corresponding memory region is found for the given pfn, return
NUMA_NO_NODE instead of -1. This improves code readability and aligns with
the existing logic of the memblock_search_pfn_nid() function's user.
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Link: https://lore.kernel.org/r/20231207131001.224914-1-ytcoode@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions