[ovs-dev] [PATCH 06/13] netdev-dpdk: Do not abort if out of hugepage memory.

Ben Pfaff blp at ovn.org
Wed Oct 12 20:09:25 UTC 2016


On Tue, Oct 04, 2016 at 06:22:17PM -0700, Daniele Di Proietto wrote:
> We can run out of hugepage memory coming from rte_*alloc() more easily
> than heap coming from malloc().
> 
> Therefore:
> 
> * We should use hugepage memory if we're going to access it only in
>   the slowpath.
> * We shouldn't abort if we're out of hugepage memory.
> * We should gracefully handle out of memory conditions.
> 
> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list