[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <496E2C11.3000200@kernel.org>
Date: Wed, 14 Jan 2009 10:16:49 -0800
From: Yinghai Lu <yinghai@...nel.org>
To: Roland Dreier <rdreier@...co.com>
CC: James Kirin <james.kirin40@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists