mm: reduce cache line size to 64 bytes to save memory
authortao zeng <tao.zeng@amlogic.com>
Fri, 1 Jun 2018 07:05:11 +0000 (15:05 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 5 Jun 2018 07:30:44 +0000 (00:30 -0700)
commita7cb2216f1acb385e81f00b4f6a4b17f73874db7
tree32130de5e4014394d022975b71c9800c3d33dbf6
parent8c3828fb51b6fa78b160ce70d96b4c6984cc615d
mm: reduce cache line size to 64 bytes to save memory

PD#166821: mm: reduce cache line size

If cacheline size is set to 128, then smallest kmalloc is 128, this will
cause low memory usage for slab and waste lot of memory. For ARM64,
cacheline size is hardware set to 64 bytes. Reduce to 64 bytes can improve
usage for slab. And can help to save memory.

Change-Id: Id7f39bec324345d3e21f2a4e954803179fb54004
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
arch/arm64/include/asm/cache.h