Messages in this thread | | | Subject | Re: [patch] vesafb fix | From | Alan Cox <> | Date | 15 Jul 2003 19:06:41 +0100 |
| |
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/
| |