-
- Downloads
x86: replace hard coded reservations in 64-bit early boot code with dynamic table
On x86-64 there are several memory allocations before bootmem. To avoid them stomping on each other they used to be all hard coded in bad_area(). Replace this with an array that is filled as needed. This cleans up the code considerably and allows to expand its use. Cc: peterz@infradead.org Signed-off-by:Andi Kleen <ak@suse.de> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/kernel/e820_64.c 52 additions, 43 deletionsarch/x86/kernel/e820_64.c
- arch/x86/kernel/head64.c 48 additions, 0 deletionsarch/x86/kernel/head64.c
- arch/x86/kernel/setup_64.c 3 additions, 64 deletionsarch/x86/kernel/setup_64.c
- arch/x86/mm/init_64.c 4 additions, 1 deletionarch/x86/mm/init_64.c
- arch/x86/mm/numa_64.c 1 addition, 0 deletionsarch/x86/mm/numa_64.c
- include/asm-x86/e820_64.h 2 additions, 2 deletionsinclude/asm-x86/e820_64.h
- include/asm-x86/proto.h 0 additions, 2 deletionsinclude/asm-x86/proto.h
Loading
Please register or sign in to comment