Skip to content
Commit 1918693f authored by Vineet Gupta's avatar Vineet Gupta
Browse files

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: default avatarVineet Gupta <vgupta@kernel.org>
parent c8ee610a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment