Re: Speed of RAM reserved with memmap kernel command line option.

From: Matthias Schniedermeyer
Date: Mon Oct 17 2011 - 09:31:28 EST


On 17.10.2011 07:51, Charles Buysschaert wrote:
> Hello all,
>
> We are writing a PCI-e "frame grabber-like" driver for linux 2.6 kernel.
...
> I guess cache is not used. Does anyone know if there is a way to speed this up? How could we set that area to "cached"?

Smells to me like you are missing a mapping in MTRR ...
Documentation/x86/mtrr.txt

... or PAT.
Documentation/x86/pat.txt





Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.

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