Hi,
I want to write a test to demonstrate cache-thrashing.
a) In Linux, is it possible to request a malloc'd page to be allocated as non-cacheable ?
b) The cacheability attribute is a bit-field in the PTE ( page table entry ) of the page-frame, Right ?
There may be multiple PTEs ( synonyms ) which map to the same physical page. What will happen if the synonyms have
different value for the cacheable field ?
c) Do I have control to keep the code of my program/process in non-cacheable page ?
shankar
I want to write a test to demonstrate cache-thrashing.
a) In Linux, is it possible to request a malloc'd page to be allocated as non-cacheable ?
b) The cacheability attribute is a bit-field in the PTE ( page table entry ) of the page-frame, Right ?
There may be multiple PTEs ( synonyms ) which map to the same physical page. What will happen if the synonyms have
different value for the cacheable field ?
c) Do I have control to keep the code of my program/process in non-cacheable page ?
shankar