From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Konstantin Ananyev <konstantin.ananyev@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] ACL: use setjmp/longjmp to handle memory allocation failure at build phase
Date: Tue, 28 Apr 2015 11:57:58 +0200 [thread overview]
Message-ID: <3795174.R42ZdTLc8c@xps13> (raw)
In-Reply-To: <1424367859-28122-1-git-send-email-konstantin.ananyev@intel.com>
> During build phase ACL doing quite a lot of memory allocations
> for relatively small temporary structures.
> In theory each of such allocation can fail, so we need to handle
> all these possible failures.
> That adds a lot of extra checks and makes the code harder to read and follow.
> To simplify the process, made changes to handle all such failures
> in one place.
> Note, that all that memory for temporary structures
> is freed at one go at the end of build phase.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Applied, thanks
prev parent reply other threads:[~2015-04-28 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 17:44 Konstantin Ananyev
2015-04-28 9:57 ` 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=3795174.R42ZdTLc8c@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=konstantin.ananyev@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).