OpenCloudOS-Kernel/arch/x86/mm
Andi Kleen ef9257668e x86: do kernel direct mapping at boot using GB pages
The AMD Fam10h CPUs support new Gigabyte page table entry for
mapping 1GB at a time. Use this for the kernel direct mapping.

Only done for 64bit because i386 does not support GB page tables.

This only applies to the data portion of the direct mapping; the
kernel text mapping stays with 2MB pages because the AMD Fam10h
microarchitecture does not support GB ITLBs and AMD recommends
against using GB mappings for code.

Can be disabled with disable_gbpages on the kernel command line

[ tglx@linutronix.de: simplify enable code ]
[ Yinghai Lu <yinghai.lu@sun.com>: boot fix on 256 GB RAM ]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-04-17 17:40:45 +02:00
..
Makefile x86: clean up the page table dumper and add 32-bit support 2008-04-17 17:40:45 +02:00
discontig_32.c x86: fix trim mtrr not to setup_memory two times 2008-03-26 22:23:41 +01:00
dump_pagetables.c x86: clean up the page table dumper and add 32-bit support 2008-04-17 17:40:45 +02:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: check vmlinux limits, 64-bit 2008-04-17 17:40:45 +02:00
highmem_32.c Avoid false positive warnings in kmap_atomic_prot() with DEBUG_HIGHMEM 2008-03-28 13:08:14 -07:00
hugetlbpage.c x86: stricter check in follow_huge_addr() 2008-03-27 16:08:45 +01:00
init_32.c x86: include proper prototypes for rodata_test 2008-02-14 23:30:20 +01:00
init_64.c x86: do kernel direct mapping at boot using GB pages 2008-04-17 17:40:45 +02:00
ioremap.c x86: fix performance drop for glx 2008-03-26 22:23:41 +01:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86_64: free_bootmem should take phys 2008-03-21 17:06:15 +01:00
pageattr-test.c x86: remove over noisy debug printk 2008-02-11 11:24:24 -08:00
pageattr.c x86: add debug info to DEBUG_PAGEALLOC 2008-04-17 17:40:45 +02:00
pgtable_32.c x86: remove quicklists 2008-03-11 17:11:55 +01:00
srat_64.c x86: fix section mismatch in srat_64.c:reserve_hotadd 2008-02-19 16:18:31 +01:00