diff options
author | 2011-02-22 11:18:49 +0100 | |
---|---|---|
committer | 2011-02-22 11:18:49 +0100 | |
commit | 2bf50555b0920be7e29d3823f6bbd20ee5920489 (patch) | |
tree | 43d1a7b547af3e87c18543caff7b398be66413d2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | x86-64, NUMA: Add proper function comments to global functions (diff) | |
download | wireguard-linux-2bf50555b0920be7e29d3823f6bbd20ee5920489.tar.xz wireguard-linux-2bf50555b0920be7e29d3823f6bbd20ee5920489.zip |
x86-64, NUMA: Seperate out numa_alloc_distance() from numa_set_distance()
Alloc code is much bigger the distance setting. Separate it out into
numa_alloc_distance() for readability.
-v2: Let alloc_numa_distance to return -ENOMEM on failing path,
requested by tj.
-tj: Description update. Minor tweaks including function name,
location and return value check.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions