Skip to content
  • Ingo Molnar's avatar
    x86: change the default cache size to 64 bytes · 0a2a18b7
    Ingo Molnar authored
    
    
    Right now the generic cacheline size is 128 bytes - that is wasteful
    when structures are aligned, as all modern x86 CPUs have an (effective)
    cacheline sizes of 64 bytes.
    
    It was set to 128 bytes due to some cacheline aliasing problems on
    older P4 systems, but those are many years old and we dont optimize
    for them anymore. (They'll still get the 128 bytes cacheline size if
    the kernel is specifically built for Pentium 4)
    
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Acked-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    0a2a18b7