Re: [patch] mm: nobootmem: fix sign extend problem in __free_pages_memory()

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

 



On Mon, 7 May 2012 14:32:03 -0500
Russ Anderson <rja@xxxxxxx> wrote:

> Systems with 8 TBytes of memory or greater can hit a problem 
> where only the the first 8 TB of memory shows up.

erk.

>  This is
> due to "int i" being smaller than "unsigned long start_aligned",
> causing the high bits to be dropped.
> 
> The fix is to change i to unsigned long to match start_aligned
> and end_aligned.
> 
> Thanks to Jack Steiner (steiner@xxxxxxx) for assistance tracking
> this down.
> 

I added the Cc: <stable@xxxxxxxxxxxxxxx> to this.  The fix is small and
safe and someone might want to run older kernels on such a machine.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]