Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

L1 and L2 cache are managed by operating system? [closed]

i know that L1 and L2 cache memories are placed in between Processor and main memory. Does Operating system decide when to move the data from main memory to L2 and then L1 ?

like image 711
nvseenu Avatar asked Dec 17 '25 14:12

nvseenu


1 Answers

No, the L1, L2, (and L3 if the processor has it) are managed only by the processor. The operation of the processor cache is completely transparent to the OS.

like image 137
shf301 Avatar answered Dec 20 '25 13:12

shf301



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!