diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-02-22 11:18:49 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-22 11:18:49 +0100 |
commit | 2bf50555b0920be7e29d3823f6bbd20ee5920489 (patch) | |
tree | 43d1a7b547af3e87c18543caff7b398be66413d2 /ipc/syscall.c | |
parent | 90e6b677b47ff8c5ba1637941af6b9f92723b003 (diff) |
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 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions