Skip to content

Commit e09a1fa

Browse files
committed
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 boot fix from Peter Anvin: "A single very small boot fix for very large memory systems (> 0.5T)" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Fix boot crash with DEBUG_PAGE_ALLOC=y and more than 512G RAM
2 parents ac0bc78 + 527bf12 commit e09a1fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/mm/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ __ref void *alloc_low_pages(unsigned int num)
7878
return __va(pfn << PAGE_SHIFT);
7979
}
8080

81-
/* need 4 4k for initial PMD_SIZE, 4k for 0-ISA_END_ADDRESS */
82-
#define INIT_PGT_BUF_SIZE (5 * PAGE_SIZE)
81+
/* need 3 4k for initial PMD_SIZE, 3 4k for 0-ISA_END_ADDRESS */
82+
#define INIT_PGT_BUF_SIZE (6 * PAGE_SIZE)
8383
RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE);
8484
void __init early_alloc_pgt_buf(void)
8585
{

0 commit comments

Comments
 (0)