From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 916675965 for ; Fri, 26 Jul 2013 17:08:32 +0200 (CEST) Received: by mail-wg0-f50.google.com with SMTP id m15so2967898wgh.5 for ; Fri, 26 Jul 2013 08:08:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=h3CkYLeeNrls2ZIqJMt3Wy4Mg1PY61AGOKlTaDog8rU=; b=pHwfLN8l9LcfQZSmEMWBexwY/+qZ/YpX5Q4nmIe528vx0Qu4Oc3tSKwS4zKAg9yLhE k+d0v3m8B8ZRNyi+thLfn8CbvQ1Ttvnv23Pk2cXqZWi3OHjuXf8/xEnCTdV3e+FX0X/a 6tfSmxxHeD4BFt9ARh2k0I/3eh9YVc5gwliWpW6LwGWN4kXvS23Cq7z2u86rAYe9HFVc LocVGth+Y7DOnfGce7ESouopiEubNejoafQeVL5Hnrx1qOcHLjplW9Z/l2oxwK06BX15 WSt8Z7TTkYhTT40BpqZl9LYS967ojsIELExioG51hepqXHgQKQgCoLg66ceztRdGmIWU JDjQ== X-Received: by 10.194.84.205 with SMTP id b13mr34285809wjz.92.1374851335494; Fri, 26 Jul 2013 08:08:55 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ev19sm5404455wid.2.2013.07.26.08.08.54 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 08:08:54 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: dev@dpdk.org Date: Fri, 26 Jul 2013 17:08:53 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1374850501-9253-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1374850501-9253-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201307261708.53326.thomas.monjalon@6wind.com> X-Gm-Message-State: ALoCoQmavSXYMDXVXPRz/AO+Gy9UvAjOnCWRP9qIu+fak/PAswqCVLnQIq2yB7DK2GeIhLXDxHOQ Subject: Re: [dpdk-dev] [PATCH] mem: fix rte_malloc(SOCKET_ID_ANY), try to allocate on other nodes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 15:08:32 -0000 26/07/2013 16:55, Thomas Monjalon : > From: Olivier Matz > > Before this patch, rte_malloc(SOCKET_ID_ANY) was equivalent to > rte_malloc(this_socket). If the user specifies SOCKET_ID_ANY, it means that > memory can be allocated on any socket. So fix the behavior of rte_malloc() > in order to do that. The current CPU socket is still the default, but if > it fails, other sockets are tested. > > Signed-off-by: Olivier Matz > Acked-by: Thomas Monjalon pushed -- Thomas