mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
libc: Allocate memory cacheline-aligned by default to prevent false sharing.
This commit is contained in:
@@ -86,7 +86,7 @@ class Libc::Malloc
|
||||
SLAB_START = 5, /* 32 bytes (log2) */
|
||||
SLAB_STOP = 11, /* 2048 bytes (log2) */
|
||||
NUM_SLABS = (SLAB_STOP - SLAB_START) + 1,
|
||||
DEFAULT_ALIGN = 16
|
||||
DEFAULT_ALIGN = 64
|
||||
};
|
||||
|
||||
struct Metadata
|
||||
|
||||
Reference in New Issue
Block a user