Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f4749ca
)
vlib: align stack on OS page size
84/19284/2
author
Benoît Ganne
<bganne@cisco.com>
Wed, 1 May 2019 08:10:48 +0000
(10:10 +0200)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 2 May 2019 15:17:38 +0000
(15:17 +0000)
Change-Id: I6d7589c967c5801a6a21a213723e2a895269e105
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vlib/unix/main.c
patch
|
blob
|
history
diff --git
a/src/vlib/unix/main.c
b/src/vlib/unix/main.c
index
24ae416
..
ed909b6
100755
(executable)
--- a/
src/vlib/unix/main.c
+++ b/
src/vlib/unix/main.c
@@
-632,7
+632,7
@@
vlib_thread_stack_init (uword thread_index)
{
vec_validate (vlib_thread_stacks, thread_index);
vlib_thread_stacks[thread_index] = clib_mem_alloc_aligned
- (VLIB_THREAD_STACK_SIZE,
VLIB_THREAD_STACK_SIZE
);
+ (VLIB_THREAD_STACK_SIZE,
clib_mem_get_page_size ()
);
/*
* Disallow writes to the bottom page of the stack, to