diff options
author | Rickard Green <[email protected]> | 2014-02-23 20:04:30 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-02-23 20:04:30 +0100 |
commit | b2017b91a5572f7bc2caf15082b4b105f3a3e21d (patch) | |
tree | 4f4ea3d654467043895a613b45b40f27f1a9d476 /erts/emulator | |
parent | db911c1f15372d2dadf06e8502506b0936a4fbb3 (diff) | |
download | otp-b2017b91a5572f7bc2caf15082b4b105f3a3e21d.tar.gz otp-b2017b91a5572f7bc2caf15082b4b105f3a3e21d.tar.bz2 otp-b2017b91a5572f7bc2caf15082b4b105f3a3e21d.zip |
Introduce configure option --with-assumed-cache-line-size=SIZE
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h index f83f6b39cf..942eaa47d0 100644 --- a/erts/emulator/beam/erl_alloc.h +++ b/erts/emulator/beam/erl_alloc.h @@ -209,8 +209,8 @@ int erts_is_allctr_wrapper_prelocked(void); void *erts_alloc_permanent_cache_aligned(ErtsAlcType_t type, Uint size); #ifndef ERTS_CACHE_LINE_SIZE -/* Assume a cache line size of 64 bytes */ -# define ERTS_CACHE_LINE_SIZE ((UWord) 64) +/* Assumed cache line size */ +# define ERTS_CACHE_LINE_SIZE ((UWord) ASSUMED_CACHE_LINE_SIZE) # define ERTS_CACHE_LINE_MASK (ERTS_CACHE_LINE_SIZE - 1) #endif |