Re: [PATCH 4/4] x86, numa: seperate alloc_numa_distance fromnuma_reset_distance.
From: Tejun Heo
Date: Mon Feb 21 2011 - 05:48:12 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/