Re: [patch] vesafb fix

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Jul 15 2003 - 13:06:41 EST


On Maw, 2003-07-15 at 18:53, Dave Jones wrote:
> > The latter failed because it's not suitably aligned - i.e. there was a
> > problem in th logic which splits non-power-of-two regions.
> > Is that fixed these days?
>
> Better would be to use change_page_attr to manipulate PAT bits.
> We then wouldn't have to worry at all about alignment, running out
> of MTRRs, or collisions with other MTRRs.

Not all the MTRR using chips use PAT - but its certainly a start. The
base algorithm for allocating MTRRs as efficiently as sanely possible
is already in the kernel btw - or pretty close to it - its used by
the Winchip code to cover RAM with out of order store.

-
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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:59 EST