How memory paging are assigned to CPU caches

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
Younis
Posts: 1
Joined: Thu Jun 26, 2014 4:45 am

How memory paging are assigned to CPU caches

Post by Younis »

Hi
I’m looking at how memory pages are assigned to CPU cache sets. I know that RAM blocks are assigned to certain lines in CPU cache sets. So, I want to the mechanism to map pages to the cache. For example, when a process has a number of memory pages, these pages how will interact with CPU cache.
Regards
Younis
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: How memory paging are assigned to CPU caches

Post by Combuster »

The page cache is called the TLB, you can look that up.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply