Skip to content

Commit 60e1fdd

Browse files
authored
Ensure that the same (large) BUFFERSIZE is used for all cpus in DYNAMIC_ARCH builds
1 parent 0f863f9 commit 60e1fdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common_power.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,10 @@ Lmcount$lazy_ptr:
849849
#else
850850
#define BUFFER_SIZE ( 16 << 20)
851851
#endif
852+
#ifeq ($(DYNAMIC_ARCH), 1)
853+
#undefine BUFFER_SIZE
854+
#define BUFFER_SIZE (64 << 22)
855+
#endif
852856

853857
#ifndef PAGESIZE
854858
#define PAGESIZE ( 4 << 10)

0 commit comments

Comments
 (0)