Allocating a cacheable page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux