Linux Swapper
Hello,
I have a question about the functioning of the linux swapper. I am looking at kernel 2.4.26. I am also refering to the o'reilly book "undestanding the linux kernel".
From what I undestand, when the system runs low on physical memory, linux goes through the page table of user processes and swaps out some pages to the swap cache which are then periodically flushed to disk (swap partition)
My question is the following:
The pages that store the page tables themselves (i.e the pages that store the pgd, pmd and pte), are those pages ever swapped out ? Or is it the case that only pages that contain data, code, stack, head etc... that are swapped out.
I am not sure if this is the right forum to discuss specific kernel questions. If someone can direct me to a good forum that deals with low level kernel details please let me know.
Thanks
|