DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Cc: dev@dpdk.org, John McNamara <john.mcnamara@intel.com>,
	Marko Kovacevic <marko.kovacevic@intel.com>
Subject: Re: [dpdk-dev] [PATCH] eal: add option to limit memory allocation on sockets
Date: Fri, 13 Jul 2018 11:38:04 +0200	[thread overview]
Message-ID: <2170003.TepNNdtj1D@xps> (raw)
In-Reply-To: <2d97a30636fdaece6f64eabb597f2f892e3e93ad.1527787910.git.anatoly.burakov@intel.com>

31/05/2018 19:35, Anatoly Burakov:
> Previously, it was possible to limit maximum amount of memory
> allowed for allocation by creating validator callbacks. Although a
> powerful tool, it's a bit of a hassle and requires modifying the
> application for it to work with DPDK example applications.
> 
> Fix this by adding a new parameter "--socket-limit", with syntax
> similar to "--socket-mem", which would set per-socket memory
> allocation limits, and set up a default validator callback to deny
> all allocations above the limit.
> 
> This option is incompatible with legacy mode, as validator callbacks
> are not supported there.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>

Applied, thanks

      reply	other threads:[~2018-07-13  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-31 17:35 Anatoly Burakov
2018-07-13  9:38 ` 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=2170003.TepNNdtj1D@xps \
    --to=thomas@monjalon.net \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=john.mcnamara@intel.com \
    --cc=marko.kovacevic@intel.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).