android_kernel_xiaomi_sm8350/arch/x86/mm
Yinghai Lu 76c324182b x86: fix trim mtrr not to setup_memory two times
we could call find_max_pfn() directly instead of setup_memory() to get
max_pfn needed for mtrr trimming.

otherwise setup_memory() is called two times... that is duplicated...

[ mingo@elte.hu: both Thomas and me simulated a double call to
  setup_bootmem_allocator() and can confirm that it is a real bug
  which can hang in certain configs. It's not been reported yet but
  that is probably due to the relatively scarce nature of
  MTRR-trimming systems. ]

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-03-26 22:23:41 +01:00
..
discontig_32.c x86: fix trim mtrr not to setup_memory two times 2008-03-26 22:23:41 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: make dump_pagetable() static 2008-02-14 23:30:19 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: include proper prototypes for rodata_test 2008-02-14 23:30:20 +01:00
init_64.c x86: fix spontaneous reboot with allyesconfig bzImage 2008-02-26 12:55:56 +01:00
ioremap.c x86-32: Pass the full resource data to ioremap() 2008-03-24 11:22:39 -07:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile
Makefile_32 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
Makefile_64 x86: unify fault_32|64.c 2008-01-30 13:34:11 +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: revert "x86: CPA: avoid split of alias mappings" 2008-03-03 14:18:27 +01: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