login
Header Space

 
 

Re: [PATCH] x86: mtrr cleanup for converting continuous to discrete - auto detect v2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Gabriel C <nix.or.die@...>, Mika Fischer <mika.fischer@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Thursday, May 1, 2008 - 6:52 pm

On Thu, May 1, 2008 at 2:49 PM, H. Peter Anvin <hpa@zytor.com> wrote:

only search 78
2g, 1g, ...1m, and half matrix 13 * 6..

and don't need to search than 78.

also if we don't need to get the more spare regs than
mtrr_spare_reg_nr, we could search less... about 10 etc.


because we only have 8 mtrrs, and user may specify mtrr_spare_reg_nr =
2 or 3 to get more entries for the graphics cards...
then can not the optimal setting without losing any covering.

so if the optimal is there (only need to search to 2g), it will catch it.

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

Messages in current thread:
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 3:00 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 4:29 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 6:14 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 9:16 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Yinghai Lu, (Thu May 1, 6:52 pm)
speck-geostationary