DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>, dpdk-dev <dev@dpdk.org>
Cc: Thomas Monjalon <thomas@monjalon.net>,
	Ferruh Yigit <ferruh.yigit@intel.com>
Subject: Re: [dpdk-dev] [PATCH] EAL: count nr_overcommit_hugepages as available
Date: Tue, 19 Mar 2019 13:52:15 +0000	[thread overview]
Message-ID: <afae87cb-04f2-a72e-0842-3e10d324fe70@intel.com> (raw)
Message-ID: <20190319135215.Rv2-ydb-jMi-A_CPsqoyvfCMH-J9CvVkIOl_sDsYlT0@z> (raw)
In-Reply-To: <447Z3z1XpYz9d@rere.qmqm.pl>

On 25-Feb-19 8:57 PM, Michał Mirosław wrote:
> From: Michał Mirosław <michal.miroslaw@atendesoftware.pl>
> 
> With nr_overcommit_hugepages > 0 application may be able to allocate
> hugepages even when free_hugepages == 0. Take this into account when
> counting available hugepages.
> 
> Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl>
> ---

Surplus pages go back at least as far as 2009, and as far as i can tell, 
the patch works under any conditions i thought to throw at it, and 
doesn't break anything else. So...

Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly

  reply	other threads:[~2019-03-19 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 20:57 Michał Mirosław
2019-03-19 13:52 ` Burakov, Anatoly [this message]
2019-03-19 13:52   ` Burakov, Anatoly
2019-03-28 22:43   ` Thomas Monjalon
2019-03-28 22:43     ` Thomas Monjalon

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=afae87cb-04f2-a72e-0842-3e10d324fe70@intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=mirq-linux@rere.qmqm.pl \
    --cc=thomas@monjalon.net \
    /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).