Hi, In linux each process has seperate page table which represents 4GB of virtual memory. In this page table 3GB is for user space memory and 1GB is for kernel space memory. As all processes run on same kernel, the page table entries for 1GB (corresponding kernel virtual memory) will be same for all processes. The page table for the currently running process is pointed by the cpu register cr3 and whenever another process is scheduled in the page table of corresponding process is pointed by cr3. Thanks, Suresh On 10/17/05, Roy Smith <misterdabolina@xxxxxxxxx> wrote: > Hi all, > > I want to refine a previous question of mine > (and thank everybody who helped me!) > about the virtual memory of the kenel itself. > > Where does the kernel keeps its own page tables ? > are they all swapped-in all the time ? > isn't it a lot of mostly-unused memory ? > > thanks > Roy. > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/