From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix linuxapp numa node detection Date: Wed, 03 Jun 2015 18:07:44 +0200 Message-ID: <4977448.shjjEWuQgn@xps13> References: <1429709515-14361-1-git-send-email-bruce.richardson@intel.com> <20150422084457.42e50bd2@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Wang Sheng-Hui To: Bruce Richardson Return-path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 2496BC314 for ; Wed, 3 Jun 2015 18:08:36 +0200 (CEST) Received: by wgv5 with SMTP id 5so13402193wgv.1 for ; Wed, 03 Jun 2015 09:08:36 -0700 (PDT) In-Reply-To: <20150422084457.42e50bd2@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-04-22 08:44, Stephen Hemminger: > On Wed, 22 Apr 2015 14:31:55 +0100 > Bruce Richardson wrote: > > > Using the "physical_package_id" as a fallback for determining the > > numa node of a core tends to be unreliable. Fix this by using a > > detection routine which reads the numa information from > > /sys/devices/system/node and just returns a numa node of 0 on > > failure. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Stephen Hemminger Applied, thanks