]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/prog_guide/env_abstraction_layer.rst
eal: add option to limit memory allocation on sockets
[dpdk.git] / doc / guides / prog_guide / env_abstraction_layer.rst
index a22640d29f73d539bf33563bf867af05a67a0e13..4c51efd42c116a52fd7035b0bd5a4d80d6e6da38 100644 (file)
@@ -147,6 +147,10 @@ notified about memory allocations above specified threshold (and have a chance
 to deny them), allocation validator callbacks are also available via
 ``rte_mem_alloc_validator_callback_register()`` function.
 
+A default validator callback is provided by EAL, which can be enabled with a
+``--socket-limit`` command-line option, for a simple way to limit maximum amount
+of memory that can be used by DPDK application.
+
 .. note::
 
     In multiprocess scenario, all related processes (i.e. primary process, and