0db6d2782c
Currently, when deallocating pages, malloc will fixup other
elements' headers if there is not enough space to store a full
element in leftover space. This leads to race conditions because
there are some functions that check for pad size with an unlocked
heap, expecting pad size to be constant.
Fix it by being more conservative and only freeing pages when
there is enough space before and after the page to store a free
element.
Fixes:
|
||
---|---|---|
.. | ||
bsdapp | ||
common | ||
linuxapp | ||
Makefile | ||
meson.build | ||
rte_eal_version.map |