[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120813215829.GA25632@google.com>
Date: Mon, 13 Aug 2012 14:58:29 -0700
From: Tejun Heo <tj@...nel.org>
To: Jacob Shin <jacob.shin@....com>
Cc: X86-ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
Yinghai Lu <yinghai@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Andreas Herrmann <andreas.herrmann3@....com>,
Borislav Petkov <borislav.petkov@....com>
Subject: Re: [PATCH 1/5] x86: Only direct map addresses that are marked as
E820_RAM
Hello,
On Mon, Aug 13, 2012 at 04:47:00PM -0500, Jacob Shin wrote:
> Currently direct mappings are created for [ 0 to max_low_pfn<<PAGE_SHIFT )
> and [ 4GB to max_pfn<<PAGE_SHIFT ), which may include regions that are not
> backed by actual DRAM. This is fine for holes under 4GB which are covered
> by fixed and variable range MTRRs to be UC. However, we run into trouble
> on higher memory addresses which cannot be covered by MTRRs.
I presume one of the problems is the mysterious reboot on S4 resume?
Please be a bit more detailed. Let's say someone discovers a
performance regression on an obscure machine, say, two years from now,
which isn't too crazy given how enterprises roll. Somebody bisects it
to this commit. Then what? It's very difficult to assess whether the
said "problem" is something which we should avoid at the cost of the
regression or it was just something somebody thought might be a
problem and created the patch assuming the change wouldn't affect
anything.
So, *please* explain what the problems are, preferably with
LKML-References or links to bugzilla bugs if there are any.
> This patch iterates through e820 and only direct maps ranges that are
> marked as E820_RAM, and keeps track of those pfn ranges.
Also, please mention the possibility of using smaller size memory
mappings if e820 didn't align physical memory to GB boundary.
Thanks.
--
tejun
--
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