[PATCH 1/2] x86_32/mm: Set NX in __supported_pte_mask before enabling paging

2015-12-15 Thread Andy Lutomirski
There's a short window in which very early mappings can end up with NX clear because they are created before we've noticed that we have NX. It turns out that we detect NX very early, so there's no need to defer __supported_pte_mask setup. Signed-off-by: Andy Lutomirski ---

[PATCH 1/2] x86_32/mm: Set NX in __supported_pte_mask before enabling paging

2015-12-15 Thread Andy Lutomirski
There's a short window in which very early mappings can end up with NX clear because they are created before we've noticed that we have NX. It turns out that we detect NX very early, so there's no need to defer __supported_pte_mask setup. Signed-off-by: Andy Lutomirski ---