Increase CACHE_LINE_SHIFT to 7 as cache lines are 128 bytes on ThunderX.
MFC after: 1 week Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
5956aafd94
commit
26ea906520
@ -77,7 +77,7 @@
|
||||
* CACHE_LINE_SIZE is the compile-time maximum cache line size for an
|
||||
* architecture. It should be used with appropriate caution.
|
||||
*/
|
||||
#define CACHE_LINE_SHIFT 6
|
||||
#define CACHE_LINE_SHIFT 7
|
||||
#define CACHE_LINE_SIZE (1 << CACHE_LINE_SHIFT)
|
||||
|
||||
#define PAGE_SHIFT 12
|
||||
|
Loading…
x
Reference in New Issue
Block a user