Hi, -> Hi, -> I am wondering if someone could explain or point me to -> the piece of code detailing linux page replacement -> algorithm. Look at the recent doc explaining Linux VM: http://www.skynet.ie/~mel/projects/vm/ -> 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. Look at Code Commentary doc: http://www.skynet.ie/~mel/projects/vm/guide/pdf/code.pdf Thanks, Naidu. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/