RE: About linux memory management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot, I think the piece of code that I need to
read is try_to_swap_out.

But in that piece of code, is pte a hardware bit or a
software bit.
If I need a 2 bit clock - based on 1 hardware bit(if
pte is a hardware bit).
Where am I going to find the other software bit, is
there anything that I can use?
Also how can one design programs to test the
efficiency of page replacement alogorithms?


--- "Naidu, Venkata" <Venkata.Naidu@xxxxxxxxxxx>
wrote:

> 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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux