[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110221104803.GK31267@htj.dyndns.org>
Date: Mon, 21 Feb 2011 11:48:03 +0100
From: Tejun Heo <tj@...nel.org>
To: Yinghai Lu <yinghai@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
David Rientjes <rientjes@...gle.com>,
Cyrill Gorcunov <gorcunov@...il.com>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists