From c75ce4dfffe367874fcefda33ad7469015343be1 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 28 Feb 2020 21:51:24 +0000 Subject: svm: fix slice locking on fifo alloc Type: fix Signed-off-by: Florin Coras Change-Id: I1fef115ffc2277ad6e0673b49be137147808891c --- src/plugins/unittest/svm_fifo_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/unittest/svm_fifo_test.c b/src/plugins/unittest/svm_fifo_test.c index 7221fb8345e..ba3cf4f0707 100644 --- a/src/plugins/unittest/svm_fifo_test.c +++ b/src/plugins/unittest/svm_fifo_test.c @@ -2632,7 +2632,8 @@ svm_fifo_test (vlib_main_t * vm, unformat_input_t * input, int res = 0; char *str; - fifo_segment_main_init (&segment_main, HIGH_SEGMENT_BASEVA << 3, 5); + clib_warning ("high mem %lu", HIGH_SEGMENT_BASEVA << 4); + fifo_segment_main_init (&segment_main, HIGH_SEGMENT_BASEVA << 4, 5); while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) { if (unformat (input, "fifo1")) -- cgit 1.2.3-korg