Re: memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y

From: Yinghai Lu
Date: Wed Jan 14 2009 - 13:17:31 EST


Roland Dreier wrote:
> > please do
> > 1. boot linux with "disable_mtrr_trim" in grub.conf etc
> > 2. after booting input:
> > echo "base=0x100000000 size=0x20000000 type=write-back" >/proc/mtrr
>
> Is there any way we can have the kernel do this automatically if there
> are any free mtrr slots? I would guess this type of BIOS bug is pretty
> common (desktop boards not validated with > 4GB of RAM), and having the
> kernel throw away 4GB of memory unless the user does some fancy
> scripting is not very friendly (not to mention the fact that things are
> likely to be very slow until the mtrr fixup script runs).

could do it. aka make mtrr and e820 consistent.
it depends which one that we trust mtrr or e820.

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