diff options
author | Vineet Gupta <vgupta@kernel.org> | 2020-02-07 12:27:02 -0800 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2023-08-17 12:40:26 -0700 |
commit | 1918693ff1891ba57af22dbbf511cf300158a975 (patch) | |
tree | c3c498cb41a36f3315da04350fe6a631cc6b666e /arch/arc/include/asm/arcregs.h | |
parent | c8ee610afe654da7276d4aa8ad2bb60ffff6ddfc (diff) |
ARCv2: memset: don't prefetch for len == 0 which happens a alot
This avoids potential "bleeding" when size == 0 as cache line would be
dirtied (and possibly fetched from other cores) and due to the same
reaons more optimal too.
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/include/asm/arcregs.h')
0 files changed, 0 insertions, 0 deletions