public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: Roland Dreier <rdreier@cisco.com>
Cc: James Kirin <james.kirin40@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y
Date: Wed, 14 Jan 2009 10:16:49 -0800	[thread overview]
Message-ID: <496E2C11.3000200@kernel.org> (raw)
In-Reply-To: <ada63khkgpg.fsf@cisco.com>

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

  reply	other threads:[~2009-01-14 18:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  1:46 memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y James Kirin
2009-01-14  2:22 ` Roland Dreier
2009-01-14  3:10   ` James Kirin
2009-01-14  6:07     ` Yinghai Lu
2009-01-14 16:14       ` Roland Dreier
2009-01-14 18:16         ` Yinghai Lu [this message]
2009-01-15 19:50       ` James Kirin
2009-01-15 20:35         ` James Kirin
2009-01-15 20:45           ` Yinghai Lu
2009-01-15 20:51         ` Yinghai Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496E2C11.3000200@kernel.org \
    --to=yinghai@kernel.org \
    --cc=james.kirin40@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox