[PATCH] IA64 kexec-tools: efi_memmap overflow on large systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Jay Lan [mailto:jlan at sgi.com]
> Sent: 2007Äê2ÔÂ1ÈÕ 9:54
> To: fastboot
> Cc: Linux-IA64; Zou, Nanhai
> Subject: [PATCH] IA64 kexec-tools: efi_memmap overflow on large systems
> 
> This patch fixes a efi_memmap overflow problem on large system.
> Currently the kexec allocates statically 16k buffer to contain
> efi_memmap. It can hold about 333 entries. It causes data
> corruption on large system.
> 
> This patch would let kexec allocate the efi_memmap at run time using
> the actual size allocated in the production kernel.
> 
> 
> Signed-off-by: Jay Lan <jlan at sgi.com>


Another hardcode limit needs to be eliminated, the CRASH_MAX_MEMORY_RANGE in crashdump-ia64.c. 
Since SN systems may scale to hundreds of nodes, each node may contain up to 12 DIMMs.

I guess the current 1024 limit is not enough for those super computers.

So we need to count crash memory ranges from /proc/iomem and allocated crash_memory_range dynamically.

Thanks
Zou Nan hai 
   



[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]

  Powered by Linux