Re: [PATCH] arm64:align function __arch_clear_user

2021-04-18 Thread Kai Shen
On 2021/4/14 18:41, Catalin Marinas wrote: On Wed, Apr 14, 2021 at 05:25:43PM +0800, Kai Shen wrote: Performance decreases happen in __arch_clear_user when this function is not correctly aligned on HISI-HIP08 arm64 SOC which fetches 32 bytes (8 instructions) from icache with a 32-bytes aligned

Re: [PATCH] arm64:align function __arch_clear_user

2021-04-14 Thread Catalin Marinas
On Wed, Apr 14, 2021 at 05:25:43PM +0800, Kai Shen wrote: > Performance decreases happen in __arch_clear_user when this > function is not correctly aligned on HISI-HIP08 arm64 SOC which > fetches 32 bytes (8 instructions) from icache with a 32-bytes > aligned end address. As a result, if the hot