Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit

From: H. Peter Anvin
Date: Fri Feb 29 2008 - 13:49:21 EST


Alexander van Heukelum wrote:

My first guess is that the BIOS data area is completely non-existent for
Xen.
Is it guaranteed that the memory is zeroed out on boot? In that case we
can
special-case it easily:

change:
/* Paranoia: should never happen, but... */
if (lowmem >= 0x100000)
lowmem = 0xa0000;

into:
/* Strange case, like Xen ;) */
if (lowmem == 0 || lowmem >= 0x100000)
lowmem = 0x9f000;

Can you test that?


The EBDA is optional anyway; I presume it should have a zero pointer if it isn't present.

-hpa
--
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/