From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: linhaifeng <haifeng.lin@huawei.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] support free hugepages
Date: Thu, 30 Oct 2014 16:32:07 +0100 [thread overview]
Message-ID: <7123524.3JOL5xGJtY@xps13> (raw)
In-Reply-To: <1414561659-7408-1-git-send-email-haifeng.lin@huawei.com>
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 <haifeng.lin@huawei.com>
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
prev parent reply other threads:[~2014-10-30 15:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 5:47 linhaifeng
2014-10-29 6:14 ` Qiu, Michael
2014-10-29 6:40 ` Linhaifeng
2014-10-29 8:04 ` Qiu, Michael
2014-10-29 8:15 ` Linhaifeng
2014-10-30 3:17 ` Matthew Hall
2014-10-30 15:32 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7123524.3JOL5xGJtY@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=haifeng.lin@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).