Re: [PATCH] x86_32: trim memory by updating e820 v3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Tuesday, April 29, 2008 - 1:02 pm

"Yinghai Lu" <yhlu.kernel@gmail.com> writes:


The BIOS will setup which areas should be WB in the mtrrs.
Having in the linux the ability to change from overlapping
mtrrs to discrete mtrrs with BIOS support appears very
practical, useful and always safe.


However when it is enabled the default chunk size is still 256M.
If we did not apply chunk size processing by default so we
did not transform any regions from WB to UC by default we could
unconditionally enable the code that yields discrete MTRRs.

Then the CONFIG option and the command line option could be made to
apply to the dangerous bits that change areas from WB to UC.  Which
I doubt we will want to have on by default but that can be useful
for people who really want to have X go fast and an uncached SMM
or ACPI area is not a problem. (ACPI we can handle by just copying
the code to a cached area, we can't even discover the SMM area).

Eric

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Sun Jan 20, 11:56 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Jesse Barnes, (Mon Jan 21, 9:30 am)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 21, 12:14 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Mon Jan 21, 1:09 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 21, 2:37 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Ingo Molnar, (Tue Jan 22, 9:51 am)
[PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Jan 22, 5:23 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Tue Jan 22, 8:50 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Fri Jan 25, 5:01 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Yinghai Lu, (Fri Jan 25, 5:16 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Fri Jan 25, 5:37 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Ingo Molnar, (Mon Jan 28, 8:09 am)
Re: [PATCH] x86_32: trim memory by updating e820 v2, Justin Piszcz, (Mon Jan 28, 11:07 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Andrew Morton, (Sat Apr 26, 3:56 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Sat Apr 26, 5:56 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 5:57 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 6:05 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sat Apr 26, 6:22 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Sun Apr 27, 1:21 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Sun Apr 27, 1:29 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sun Apr 27, 11:44 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Sun Apr 27, 11:50 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 1:38 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 2:09 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 2:18 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 2:34 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 2:44 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 2:54 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 2:58 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 3:03 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 3:07 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Mon Apr 28, 6:53 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 7:11 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 7:15 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 7:24 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Mon Apr 28, 9:09 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Mika Fischer, (Mon Apr 28, 9:31 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Mon Apr 28, 9:55 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Mon Apr 28, 11:07 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 12:03 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 12:06 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 12:08 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 12:38 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 12:46 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 1:45 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 2:19 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 3:03 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 3:56 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 4:16 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 4:23 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Gabriel C, (Mon Apr 28, 6:05 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Mon Apr 28, 7:41 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 3:31 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 3:34 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Ingo Molnar, (Tue Apr 29, 3:37 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 3:42 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Andrew Morton, (Tue Apr 29, 5:40 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Jesse Barnes, (Tue Apr 29, 8:52 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 10:29 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 11:40 am)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 12:19 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Yinghai Lu, (Tue Apr 29, 12:44 pm)
Re: [PATCH] x86_32: trim memory by updating e820 v3, Eric W. Biederman, (Tue Apr 29, 1:02 pm)
[patch] PCI: export resource_wc in pci sysfs, Ingo Molnar, (Tue Apr 29, 3:03 pm)
Re: [patch] PCI: export resource_wc in pci sysfs, Andrew Morton, (Tue Apr 29, 3:24 pm)