mem: refactor segment resizing function
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 29 Mar 2019 17:55:28 +0000 (17:55 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 2 Apr 2019 14:07:13 +0000 (16:07 +0200)
commit848cbff836394695cd9da372e70c8486f5a4e30a
tree66b6a62821a9eb88c75a30056dfb25eb71c3b4fe
parentea4e3ab7bd37980f9745e1e63ac33390cc8bae10
mem: refactor segment resizing function

Currently, segment resizing code sits in one giant function which
handles both in-memory and regular modes. Split them up into
individual functions.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/linux/eal/eal_memalloc.c