Re: [PATCH v7 13/14] module: Do not set nx for module memory before freeing

From: Peter Zijlstra
Date: Thu Dec 06 2018 - 04:57:35 EST


On Tue, Dec 04, 2018 at 05:34:07PM -0800, Nadav Amit wrote:

> So let's remove it. Andy suggested that the changes of the PTEs can be
> avoided (excluding the direct-mapping alias), which is true. However,
> in x86 it requires some cleanup of the contiguous page allocator, which
> is outside of the scope of this patch-set.

I think x86-cpa stands for change_page_attr() :-)