login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [PATCH] x86: mtrr cleanup for converting continuous to discrete layout v5
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [PATCH] x86: mtrr cleanup for converting continuous to discrete layout v5
Date: Tuesday, April 29, 2008 - 1:04 pm
On Tue, Apr 29, 2008 at 12:00 PM, Eric W. Biederman <ebiederm@xmission.com> wrote:
quoted text
> Yinghai Lu <yhlu.kernel.send@gmail.com> writes: > > > some BIOS like to use continus MTRR layout, and may X driver can not add > > WB entries for graphical cards when 4g or more RAM installed. > > > > the patch will change MTRR to discrete. > > > > mtrr_chunk_size= could be used to have smaller continuous block to hold holes. > > default is 256m, could be set according to size of graphics card memory. > > > > v2: fix -1 for UC checking > > v3: default to disable, and need use enable_mtrr_cleanup to enable this feature > > skip the var state change warning. > > remove next_basek in range_to_mtrr() > > v4: correct warning mask. > > v5: CONFIG_MTRR_SANITIZER > > > > Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> > > Skimming through the code it looks fairly sane. > > I do think it would be good to split this patch into two pieces. > 1) The mtrr rewriter/sanitizer/normalize. > All it does it should do is rewrite the MTRRs with a > semantically equivalent value. This code should always be > safe and work on any system with MTRRs. > > This works around otherwise sane bios's that simply prefer > to have contiguous MTRRs. > > I don't see a reason why this code should be configurable. > > This approach avoids earlier concerns because it starts > with the existing MTRR layout and not with the e820 map. > > 2) The mtrr_chunk_size code that rounds things off and allows > us to use discrete MTRRs by reducing some RAM to uncacheable. > Because it makes things uncacheable it has potentially bad > side effects on performance and thus potentially bad side > effects on functionality. For areas like the SMM and ACPI > especially as they usually occur at the end of RAM just > below 4G. > > The chunk size code should be configurable and default to off > because it has potential side effects. A KConfig option may > also be appropriate. It asks an interesting trade off question > do you want your BIOS to be fast or X.
(less memory + fast X) or (more 8M RAM + slow...) YH --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Arjan van de Ven
, (Sun Apr 27, 10:50 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Sun Apr 27, 11:37 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Mon Apr 28, 2:06 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Ingo Molnar
, (Mon Apr 28, 6:08 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Arjan van de Ven
, (Mon Apr 28, 6:49 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Mika Fischer
, (Mon Apr 28, 8:28 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Gabriel C
, (Mon Apr 28, 9:01 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Mika Fischer
, (Mon Apr 28, 9:28 am)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Mon Apr 28, 12:44 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Ingo Molnar
, (Mon Apr 28, 1:15 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Mon Apr 28, 1:16 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Mon Apr 28, 1:18 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Ingo Molnar
, (Mon Apr 28, 1:29 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Mon Apr 28, 3:05 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Randy Dunlap
, (Mon Apr 28, 3:36 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Mon Apr 28, 3:47 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Andrew Morton
, (Mon Apr 28, 7:42 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Mon Apr 28, 8:01 pm)
[PATCH 1/2] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Tue Apr 29, 2:00 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 2:47 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 3:30 am)
[PATCH 1/2] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Tue Apr 29, 3:52 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 3:56 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Ingo Molnar
, (Tue Apr 29, 4:26 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 4:51 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Ingo Molnar
, (Tue Apr 29, 6:07 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 10:11 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 10:25 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Eric W. Biederman
, (Tue Apr 29, 12:00 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Tue Apr 29, 1:04 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 1:25 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Eric W. Biederman
, (Tue Apr 29, 1:29 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Randy Dunlap
, (Tue Apr 29, 1:46 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 2:49 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 2:54 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Tue Apr 29, 2:57 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Ingo Molnar
, (Tue Apr 29, 3:09 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Eric W. Biederman
, (Tue Apr 29, 3:14 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Tue Apr 29, 3:18 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Thomas Gleixner
, (Tue Apr 29, 3:54 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 4:56 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 5:06 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 5:13 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 5:38 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 6:02 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Eric W. Biederman
, (Tue Apr 29, 6:16 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 8:00 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Tue Apr 29, 8:25 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 8:29 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Tue Apr 29, 9:12 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Tue Apr 29, 9:25 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Alan Cox
, (Wed Apr 30, 2:57 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Gabriel C
, (Wed Apr 30, 5:04 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Ingo Molnar
, (Wed Apr 30, 5:09 am)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ...
, Yinghai Lu
, (Wed Apr 30, 9:26 am)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Thu May 1, 1:00 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Gabriel C
, (Thu May 1, 4:45 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Mika Fischer
, (Thu May 1, 5:09 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Randy Dunlap
, (Thu May 1, 8:09 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 9:35 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 9:38 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Mika Fischer
, (Thu May 1, 9:59 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 10:40 am)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Thu May 1, 11:57 am)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 12:42 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 2:02 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 2:10 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 2:20 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 2:26 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 2:31 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 2:33 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 2:44 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 2:49 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 3:52 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, H. Peter Anvin
, (Thu May 1, 3:57 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 4:10 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 5:06 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Gabriel C
, (Thu May 1, 5:29 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 5:35 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Thu May 1, 5:52 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Gabriel C
, (Thu May 1, 6:18 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ...
, Yinghai Lu
, (Thu May 1, 6:55 pm)
[PATCH] x86: mtrr cleanup for converting continuous to dis ...
, Yinghai Lu
, (Fri May 2, 2:40 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate