Re: [CFT] ELF Relocatable x86 and x86_64 bzImages

From: Eric W. Biederman
Date: Sun Aug 13 2006 - 17:42:58 EST

Andi Kleen <ak@xxxxxxx> writes:

> 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.

Ok. Thanks. That explains that it.

The NX bit itself causes the GPF not someone trying to execute
data on a page.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at