From mboxrd@z Thu Jan 1 00:00:00 1970 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 B96B6678B for ; Fri, 18 Apr 2014 14:56:49 +0200 (CEST) Received: by mail-wg0-f45.google.com with SMTP id l18so479276wgh.4 for ; Fri, 18 Apr 2014 05:56:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gT3TP7DLOgTE7dyFDLwF6Ft2QXSy8oUKlT0EAfVlU3U=; b=H3qCjxh6Mv30w80+1m8rmcqfpzsGxQPqijP8MQvRyt1MUaj6Lp+9rvN95rMv4Wx6oj noPgVNTe3+0zqe8nmvhovqLN5BFvGpv/i/ZuSeH8kT1kTqCSRdXoNYZ1t3vhOm8OgfdN sBY6dP47v/cZPnC2gaJL3cKw2BV5VoFVRZ0SZtQFLm4WlFvzlObVC6M2XxfqPH9xz6C3 tBdY8n58jB2VjLPQDWeYg/xzA+dc/jExDXnsJn52jQQyk7CQ0q45U/zGHZEhVYn7ase3 RL+MdNB6snb2nn1UkZrlTL+1QJtDkcZ7LcKVjlWUikw90ePyP/ixqWfM8FL0WJnP4dz5 bMyQ== X-Gm-Message-State: ALoCoQlfsIUikPjuGCD1MK5Us+SIdpNV/Lec17vj0dar+pY7hY24hIWRON3XoR0QCTtVFtM7xg09 X-Received: by 10.194.90.39 with SMTP id bt7mr15608wjb.93.1397825810739; Fri, 18 Apr 2014 05:56:50 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id h1sm43508961wjy.7.2014.04.18.05.56.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Apr 2014 05:56:49 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Fri, 18 Apr 2014 14:56:16 +0200 Message-Id: <1397825778-24334-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <20140415144440.GD3557@hmsreliant.think-freely.org> References: <20140415144440.GD3557@hmsreliant.think-freely.org> Subject: [dpdk-dev] [PATCH 0/2] rework heap initialisation 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, 18 Apr 2014 12:56:50 -0000 Following Neil's suggestion, here is a patchset that removes the need for a synchronisation mechanism when initialising heap objects. As a consequence, this patchset replaces the two patches Didier proposed earlier. -- David Marchand David Marchand (2): malloc: get rid of numa_socket field malloc: simplify heap initialisation lib/librte_eal/common/include/rte_malloc_heap.h | 8 ---- lib/librte_malloc/malloc_heap.c | 46 +++-------------------- 2 files changed, 5 insertions(+), 49 deletions(-) -- 1.7.10.4