Messages in this thread | | | Date | Mon, 21 Feb 2011 11:48:03 +0100 | From | Tejun Heo <> | Subject | Re: [PATCH 4/4] x86, numa: seperate alloc_numa_distance from numa_reset_distance. |
| |
Hello,
On Fri, Feb 18, 2011 at 10:59:38AM -0800, Yinghai Lu wrote: > + if (!numa_distance) > + alloc_numa_distance(); > + > + if (!numa_distance_cnt) > + return;
Can you at least make alloc_numa_distance() return -ENOMEM on failure instead of checking the numa_distance_cnt implicitly in the caller?
Thanks.
-- tejun
| |