This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 fix alloc alignment
We need at least 64 bits for atomic64 Change-Id: I08724d204f2a1603088c8737ca096a4b64314f6b
rfuchs/1989
Richard Fuchs
4 months ago
parent
675eb7bea6
commit
649e225bc9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/bufferpool.h
+ 1
- 1
lib/bufferpool.h
View File
@ -3,7 +3,7 @@
#
include
"obj.h"
#
define BUFFERPOOL_ALIGNMENT (sizeof(void *))
/
/
bytes
#
define BUFFERPOOL_ALIGNMENT (
MAX(
sizeof(void *
), 8
))
/
/
bytes
#
define BUFFERPOOL_ALIGN(x) (((x + BUFFERPOOL_ALIGNMENT - 1)
/
BUFFERPOOL_ALIGNMENT) * BUFFERPOOL_ALIGNMENT)
#
define BUFFERPOOL_SHARD_SIZE ((size_t) (1LL<<24))
/
/
16 MB, must be a power of two
Write
Preview
Loading…
Cancel
Save