linux/arch/x86/mm
Andi Kleen f5c24a7fd0 x86: don't use large pages to map the first 2/4MB of memory
Intel recommends to not use large pages for the first 1MB
of the physical memory because there are fixed size MTRRs there
which cause splitups in the TLBs.

On AMD doing so is also a good idea.

The implementation is a little different between 32bit and 64bit.
On 32bit I just taught the initial page table set up about this
because it was very simple to do. This also has the advantage
that the risk of a prefetch ever seeing the page even
if it only exists for a short time is minimized.

On 64bit that is not quite possible, so use set_memory_4k() a little
later (in check_bugs) instead.

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: andreas.herrmann3@amd.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-17 17:41:30 +02:00
..
Makefile x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
discontig_32.c x86: use get_bios_ebda in mpparse_64.c 2008-04-17 17:41:05 +02:00
dump_pagetables.c x86: sort address_markers for dump_pagetables 2008-04-17 17:40:58 +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: don't use large pages to map the first 2/4MB of memory 2008-04-17 17:41:30 +02:00
init_64.c x86: account overlapped mappings in max_pfn_mapped 2008-04-17 17:41:30 +02:00
ioremap.c x86: PAT bug fix for attribute type check after reserve_memtype, debug 2008-04-17 17:41:20 +02: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: remove never used nodenumer in pda 2008-04-17 17:40:47 +02:00
pageattr-test.c x86: remove over noisy debug printk 2008-02-11 11:24:24 -08:00
pageattr.c x86: add set_memory_4k to pageattr.c 2008-04-17 17:41:30 +02:00
pat.c x86: pat cpu feature bit setting for known cpus 2008-04-17 17:41:20 +02:00
pgtable_32.c x86: Remove redundant display of free swap space in show_mem() 2008-04-17 17:40:58 +02:00
srat_64.c x86: get apic_id later in acpi_numa_processor_affinity_init 2008-04-17 17:40:47 +02:00