• Catalin Marinas's avatar
    Revert "arm64: Increase the max granular size" · d93277b9
    Catalin Marinas authored
    This reverts commit 97303480.
    
    Commit 97303480 ("arm64: Increase the max granular size") increased
    the cache line size to 128 to match Cavium ThunderX, apparently for some
    performance benefit which could not be confirmed. This change, however,
    has an impact on the network packet allocation in certain circumstances,
    requiring slightly over a 4K page with a significant performance
    degradation. The patch reverts L1_CACHE_SHIFT back to 6 (64-byte cache
    line).
    
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Robin Murphy <robin.murphy@arm.com>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    d93277b9
cache.h 2.19 KB