Re: [RFC PATCH] x86/split_lock: Disable SLD if an unaware (out-of-tree) module enables VMX

Christoph Hellwig
2020-04-08T11:02:26Z

On Wed, Apr 08, 2020 at 11:12:14AM +0200, Peter Zijlstra wrote:
> > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/sanitize-vmalloc-api
>
> Should we not also apply pgprot_nx() to __vmalloc(), that's also
> EXPORT_SYMBOL().

__vmalloc has lost the pgprot argument in the latest version. And
based on the other thread it seems I need to take a look at ioremap
as well.