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:
andrew 2016-10-24 13:44:24 +00:00
parent 5956aafd94
commit 26ea906520

View File

@ -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