Hi, I am wondering if someone could explain or point me to the piece of code detailing linux page replacement algorithm. I know that it using some sort of 1 bit clock LRU algorithm .. I am trying to change it to a 2 bit algorithm. Also where can I find the stock kernel code. In addition if a page has to be swapped out, which piece of code does that. Thanks Heap-Ho -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/