Skip to content
  • Venkatesh Pallipadi's avatar
    [PATCH] Increase number of e820 entries hard limit from 32 to 128 · f9ba7053
    Venkatesh Pallipadi authored
    
    
    The specifications that talk about E820 map doesn't have an upper limit on
    the number of e820 entries.  But, today's kernel has a hard limit of 32.
    With increase in memory size, we are seeing the number of E820 entries
    reaching close to 32.  Patch below bumps the number upto 128.
    
    The patch changes the location of EDDBUF in zero-page (as it comes after E820).
    As, EDDBUF is not used by boot loaders, this patch should not have any effect
    on bootloader-setup code interface.
    
    Patch covers both i386 and x86-64.
    
    Tested on:
    * grub booting bzImage
    * lilo booting bzImage with EDID info enabled
    * pxeboot of bzImage
    
    Side-effect:
    bss increases by ~ 2K and init.data increases by ~7.5K
    on all systems, due to increase in size of static arrays.
    
    Signed-off-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    f9ba7053