On Tue, Nov 08, 2022 at 08:38:32PM +0800, Aaron Lu wrote: > set_memory_nx/x() on a vmalloced range will not affect direct map but > set_memory_ro/rw() will. Which seems a little odd. Is there any good reason to not also propagate the NX bit?
On Tue, Nov 08, 2022 at 08:38:32PM +0800, Aaron Lu wrote: > set_memory_nx/x() on a vmalloced range will not affect direct map but > set_memory_ro/rw() will. Which seems a little odd. Is there any good reason to not also propagate the NX bit?