[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4792DE0C.9060906@zytor.com>
Date: Sat, 19 Jan 2008 21:37:16 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Yinghai Lu <Yinghai.Lu@....COM>
CC: Ingo Molnar <mingo@...e.hu>, Andi Kleen <ak@...e.de>,
LKML <linux-kernel@...r.kernel.org>,
Jesse Barnes <jesse.barnes@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] x86: disable_mtrr_trim only need for x86_64
Yinghai Lu wrote:
> [PATCH] x86: disable_mtrr_trim only need for x86_64
>
> mtrr_trim_uncached_memory is only used in x86_64,
>
> so disable_mtrr_trim is not needed for x86_32
>
> Signed-off-by: Yinghai Lu <yinghai.lu@....com>
That seems like a bug, and if so this patch goes the wrong direction.
(If the 32-bit code has another solution for the same problem, they
should be unified.)
The trimming of uncachable memory affects both 32- and 64-bit kernels;
it's the same hardware, and even 32-bit kernels (with PAE) can access
memory above 4 GB.
-hpa
--
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