views:

147

answers:

0

Hi

For some simple performance tests I would like to specify some regions of an application program as uncacheable. For example, the application contains a function that maps to the memory address space 0x08002000 to 0x0800A000 in the executable. When this program is run, code within this address space should not be cached in anyway. In the Linux kernel, I heard something about the PAT (Page Attribute Table) and MTRR (Memory Type Range Registers) which could maybe be interesting. Does anyone know which option is better for me so that I can study this in more detail?

Thanks!