- Fix kernel_physical_mapping_init() for large x86 systems
Subsystems (3)
PATCH 1/1 - Fix kernel_physical_mapping_init() for large x86 systems
Fix bug in kernel_physical_mapping_init() that causes kernel page table to be built incorrectly for systems with greater than 512GB of memory.
--- arch/x86/mm/init_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/init_64.c +1 -1
@@ -644,7 +644,7 @@ static unsigned long __init kernel_physiunsigned long pud_phys;pud_t *pud; - next = start +PGDIR_SIZE ; + next = (start +PGDIR_SIZE ) &PGDIR_MASK ;if (next > end) next = end;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Ingo Molnar
AppliedQuoted 5 lines · Jack Steiner
Fix bug in
kernel_physical_mapping_init()that causes kernel page table to be built incorrectly for systems with greater than 512GB of memory.Signed-off-by Jack Steiner <[email protected]>
applied to tip/x86/urgent - thanks Jack.
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>