Re: [RFC Patch] use MTRR for write combining if PAT is notavailable

From: Ingo Molnar
Date: Wed Oct 21 2009 - 13:36:27 EST



* Jan Beulich <JBeulich@xxxxxxxxxx> wrote:

> > So if it's OK for Jan, I'll reduce the functionality again and use
> > mtrr_add() instead. Btw. this simply means to drop
> > mtrr_add_unaligned(), all the other parts are still required for
> > reference counting and a proper mtrr_del() on file close.
>
> I'm perfectly fine with just handling the aligned case, as long as the
> code checks that the alignment constraints are met.

It could even emit a debug warning if they are not met - that way we'll
see how important the unaligned case is.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/