Skip to content
Commit 02168054 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

rst-malloc: Do not grow sh-remap memory



The mremap() grow on anonymous shared memory doesn't produce
usable segment, as the underlying kernel tmpfs file doesn't
get truncated. So any access to new mem will result in sigbus.

Disable this grow for now, we only need few of such memory.

Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
Reviewed-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 7c2542a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment