summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-06-10 16:22:48 -0700
committerDave Barach <openvpp@barachs.net>2019-06-11 00:24:28 +0000
commitf0b68a55a66040a72ad4f6f5832640386cb3c58e (patch)
treea6243eb2391f7606af2162aa303db9f61ed66f85
parent4e116fb56fc195fc8f823aa231665fcb9b9c2996 (diff)
ssvm: disable private segment expand
Change-Id: I893621d9a6520c6e24026a9bbaf44e9e69f60bcb Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--src/svm/ssvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c
index 7901db26b4b..d629afc4ad0 100644
--- a/src/svm/ssvm.c
+++ b/src/svm/ssvm.c
@@ -370,6 +370,7 @@ ssvm_master_init_private (ssvm_private_t * ssvm)
}
#else
heap = create_mspace (rnd_size, 1 /* locked */ );
+ mspace_disable_expand (heap);
#endif
ssvm->ssvm_size = rnd_size;