memzone: document reserving zero-length memzones
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 3 May 2018 16:25:58 +0000 (17:25 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 May 2018 00:10:36 +0000 (02:10 +0200)
commit7785c5588d7e8cb07d70a4986afb3685b55ace86
tree306f2c65963bc6acbdceb8bf93e8d34acf8bf043
parenta82377cab87cea35bdd135fa8b8c4c485e2389f7
memzone: document reserving zero-length memzones

Currently, reserving a memzone with length set to 0 will not trigger
any memory allocations, and memzone will instead be looking through
already allocated memory only. Document this limitation.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/include/rte_memzone.h