android_kernel_sony_msm8994.../arch/x86/mm
Huang, Ying 84e0fdb175 x86: NX bit handling in change_page_attr()
This patch fixes a bug of change_page_attr/change_page_attr_addr on
Intel x86_64 CPUs.  After changing page attribute to be executable with
these functions, the page remains un-executable on Intel x86_64 CPU.
Because on Intel x86_64 CPU, only if the "NX" bits of all four level
page tables are cleared, the corresponding page is executable (refer to
section 4.13.2 of Intel 64 and IA-32 Architectures Software Developer's
Manual).  So, the bug is fixed through clearing the "NX" bit of PMD when
splitting the huge PMD.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-17 20:15:43 +02:00
..
boot_ioremap_32.c
discontig_32.c [x86] remove uses of magic macros for boot_params access 2007-10-16 17:38:31 -07:00
extable_32.c
extable_64.c
fault_32.c During VM oom condition, kill all threads in process group 2007-10-16 09:42:52 -07:00
fault_64.c x86: optimize page faults like all other achitectures and kill notifier cruft 2007-10-16 09:42:50 -07:00
highmem_32.c
hugetlbpage.c
init_32.c x86: fix CONFIG_PAGEALLOC related boot hangs/OOMs 2007-10-17 20:15:39 +02:00
init_64.c fix memory hot remove not configured case. 2007-10-16 09:43:02 -07:00
ioremap_32.c
ioremap_64.c
k8topology_64.c
Makefile
Makefile_32
Makefile_64
mmap_32.c
mmap_64.c
numa_64.c
pageattr_32.c
pageattr_64.c x86: NX bit handling in change_page_attr() 2007-10-17 20:15:43 +02:00
pgtable_32.c x86: stop nmi softlockup warnings in show_mem() 2007-10-17 20:15:41 +02:00
srat_64.c