Description:
InnoDB code has the CACHE_LINE_SIZE constant which is currently defined
in ut0counter.h to either 128 for POWER or 64 for everything else.
Replication code has the CPU_LEVEL1_DCACHE_LINESIZE constant with the
same semantics. The same constant is also used by Performance
Schema. But the exact value is defined on compile time in
cpu_info.cmake: it is the value returned by "getconf
LEVEL1_DCACHE_LINESIZE", if available, and 64 otherwise.
This is a request to reconcile those constants, i.e. 1) change
CPU_LEVEL1_DCACHE_LINESIZE to default to 128 on those architectures,
that need it, and 2) have InnoDB reuse that constant rather than
implement its own logic.
How to repeat:
Check how CPU_LEVEL1_DCACHE_LINESIZE and CACHE_LINE_SIZE are defined.