On Wed, Feb 27, 2019 at 9:30 AM Peter Zijlstra <pet...@infradead.org> wrote: > > Right, but I was hoping to avoid having to do that; and I think we can > do that if we push all of kasan_report into an exception, like that > 'patch' I just posted. > > If I'm not mistaken the regular kasan house-keeping crud just prods at > the shadow memory with simple code and should be perfectly safe.
Fair enough. I do agree it would be nice to not have the save/restore simply because "it cannot matter" and we have the static tool to prove that. Linus