From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 3B2E37DFC for ; Thu, 30 Oct 2014 16:23:30 +0100 (CET) Received: by mail-wi0-f173.google.com with SMTP id n3so4885663wiv.12 for ; Thu, 30 Oct 2014 08:32:26 -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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Bk6tFcjDnn73zL839McSmY1gZEC4k++73zYhXjI1hXo=; b=mUqaw1yQ7wrK/1bIy9oqeQQoSzoepntZfRi4whpP+3OZ7MHklfErqctgSys9zSx+ts VmDbXpEE8mgpJ2znGbo7PfVAXm18fJhCc2r9bW4jrNHeszl6E4IYxuUeUXYftwsLrFxX DD8ZOr8u0NghBY41xjgXUuIVnjq4zj1Nt36xQnVXsRdyOzKEh8hrm6pvq5jA6hcA+jSd /WGvE86Hm/Eu9iUR2m/z/7zfPCihLASgCvMHxZrPvMbIzq0i+7TPH85eNzqNByYBmIfM v7SC6m84maw70ekvMPIKSMtwzT2qVqT9CPPr6JBimrKcQdbcYsL7roiZ1uinIw3Cb+h5 JNhQ== X-Gm-Message-State: ALoCoQkuTqANae5qAIBNg+iq/xO1d8EP2CuDJP/rse2UM8t1u1MemnZg7XyWXjcD1m2D1DZ5b8/u X-Received: by 10.180.21.163 with SMTP id w3mr44657720wie.48.1414683146667; Thu, 30 Oct 2014 08:32:26 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id gw6sm9390543wib.8.2014.10.30.08.32.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 08:32:25 -0700 (PDT) From: Thomas Monjalon To: linhaifeng Date: Thu, 30 Oct 2014 16:32:07 +0100 Message-ID: <7123524.3JOL5xGJtY@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.1-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <1414561659-7408-1-git-send-email-haifeng.lin@huawei.com> References: <1414561659-7408-1-git-send-email-haifeng.lin@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] support free hugepages 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: Thu, 30 Oct 2014 15:23:30 -0000 2014-10-29 13:47, linhaifeng: > rte_eal_hugepage_free() is used for unlink all hugepages.If you want to > free all hugepages you must make sure that you have stop to use it,and you > must call this function before exit process. > > Signed-off-by: linhaifeng Thanks for raising the need. There is a discussion in the thread of the first version of this patch. Neil suggests an automatic clean-up with hugepage refcounting. It seems to be a good idea. So this patch won't be integrated as is. -- Thomas