On 12/21/2012 09:28 AM, Yinghai Lu wrote: > > which line? > > 0xffffffff83000000-0xffffffff83c00000 12M RW PSE > GLB x pmd > > my kernel INIT_SIZE is 27M, and it includes everything that i needed > in the kernel. >
We should NEVER have RW + x at the same time (at least when the kernel is compiled properly.) Looks like your patch does get rid of a bunch of stuff in the low mapping -- although the low mapping really should never be +x at all -- but there are still problems with the high mapping. Oh yes, and then there is EFI. If that means we need to keep a completely separate page tables for EFI than so be it... -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/