[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: mtrr cleanup for converting continuous to discrete layout v2

* Yinghai Lu <> wrote:

> some BIOS like to use continus MTRR layout, and 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.


> +static int disable_mtrr_cleanup;

i think this should be default-disabled. Touching MTRRs on a live system
could interact with SMM and MCE handlers.

how relevant is this feature with modern Xorg? I thought modern Xorg
would get its mappings via /sys, hence it would not have to touch MTRRs
at all.


 \ /
  Last update: 2008-04-28 15:11    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean