Questions about the zoned page frame allocator and fix mapped addresses

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon Mar 30 13:16:11 EDT 2015


On Mon, 30 Mar 2015 20:25:38 +0530, Sunny Shah said:

>    - The book says, about releasing page frames to the per CPU cache - "no
>    page frame is ever released to the cold cache: the kernel always assumes
>    the freed page frame is hot with respect to the hardware cache". What is
>    the reason for this decision ?

What can go wrong if the page is cold but the kernel assumes it's hot?

What can go wrong if the kernel assumes it's cold but it's actually hot?

(Hint - in which cases will it do a cache flush?  In which cases is a
cache flush needed? What happens in each case if the kernel guesses wrong?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150330/c119fa55/attachment.bin 


More information about the Kernelnewbies mailing list