Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are linux socket kernel buffers swapped to disk?

This may seem like a dense question, but does anyone know if linux socket kernel buffers are swapped to disk?

I can't image they are, like all kernel code. Looking at the vmm it looks like their not. However, searching for a definitive answer, I disturbingly found conflicting statements.

Anyone know for sure ? I would hate to have to do a long deep dive to find it does, if someone already knows.

thanks

like image 412
garyM Avatar asked Jan 12 '13 22:01

garyM


1 Answers

Basically, all kernel memory is not swappable (a.k.a. pageable) in linux.

like image 71
unbeli Avatar answered Nov 10 '22 18:11

unbeli