Re: [PATCH v2 14/20] mm: Provide speculative fault infrastructure

From: Andi Kleen
Date: Mon Aug 28 2017 - 18:35:18 EST


> That makes me extremely nervous... there could be all sort of
> assumptions esp. in arch code about the fact that we never populate the
> tree without the mm sem.
>
> We'd have to audit archs closely. Things like the page walk cache
> flushing on power etc...

Yes the whole thing is quite risky. Probably will need some
kind of per architecture opt-in scheme?

-Andi