Re: [CFT] ELF Relocatable x86 and x86_64 bzImages

From: Andi Kleen
Date: Sun Aug 13 2006 - 16:04:25 EST


ebiederm@xxxxxxxxxxxx (Eric W. Biederman) writes:
>
> Do you know what code had problems having _PAGE_NX set.
> What are we doing with early_ioremap the requires execute
> permissions. It doesn't sound right that we would need
> this.

The early EM64T CPUs didn't support NX and would GPF when
they hit the bit. That is why you always need to mask
with __supported_pte_mask when using _PAGE_NX.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/