[PATCH 0/4] x86/mm: Fix set_memory_rox()

From: Peter Zijlstra
Date: Thu Nov 10 2022 - 07:58:49 EST


Hi,

The robot reported fail on commit:

b38994948567 ("x86/mm: Implement native set_memory_rox()")

which led to some non-obvious code in __change_page_attr_set_clr(). These few
patches attempt to clean that up.