[v6 11/15] arm64/kasan: explicitly zero kasan shadow memory

David Laight David.Laight at ACULAB.COM
Tue Aug 8 06:15:55 PDT 2017


From: Pasha Tatashin
> Sent: 08 August 2017 12:49
> Thank you for looking at this change. What you described was in my
> previous iterations of this project.
> 
> See for example here: https://lkml.org/lkml/2017/5/5/369
> 
> I was asked to remove that flag, and only zero memory in place when
> needed. Overall the current approach is better everywhere else in the
> kernel, but it adds a little extra code to kasan initialization.

Perhaps you could #define the function prototype(s?) so that the flags
are not passed unless it is a kasan build?

	David



More information about the linux-arm-kernel mailing list