Re: [PATCH] [3/4] i386: Fix overflow in e820_all_mapped

From: Linus Torvalds
Date: Fri Apr 28 2006 - 01:39:06 EST




On Fri, 28 Apr 2006, Andi Kleen wrote:
>
> The 32bit version of e820_all_mapped() needs to use u64 to avoid
> overflows on PAE systems. Pointed out by Jan Beulich

I don't think that's true.

It can't be called with 64-bit arguments anyway. If the base address
doesn't fit in 32-bit, we'd be screwed in other places, afaik.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/