Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
thanks, but I still don't get what "paging during kernel initialization" is.....
Do you know what is paging ? Please google for details. Its a beautiful memory mgmt. technique used by the kernel.
Our primary memory is divided into some logical blocks of same size called pages, by the kernel.
swapper or sched is the swapper daemon which swaps processes from primary memory to swap area(virtual memory) whenever needed i.e to free the pages from primary memory. And during kernel initialization, kernel starts the swapper daemon(sched) to do this.
I am extremely well aware what paging is. There is no "paging during kernel initialization" - the x86 *chip* will simply take addresses that are not in RAM, and the kernel has to bring that data off the disk. This whole thing is activated when the chip is put into Protected Mode, it's not the *kernel* which does anything.
Swapper has nothing to do with (modern) swap. In fact process swap-out in Linux hasn't existed for years. kswapd manages pages to swap.
The kernel doesn't page, although it does have page table built for it - by "swapper/process 0" I believe. Who knows where the name came from originally.