Re: Implementation of Virtual Memory on Linux

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

 



On Wed, May 10, 2006 at 01:06:22PM +0530, Abhijit Pawar wrote:
> Ideally OOM is the last resort in this case. Need to kill some other
> application whose Pages are exhausting the SWAP. But, how that will be
> decided?
> 
> 
> Thanks.
> --
> Abhijit.

OOM stands for Out Of Memory. In the linux kernel, this problem is
handled by the OOM manager, which simply does the following :
check if there is enough memory avalaible, verify that the the system is
truly out of memory and then selects a process to kill.

The process to kill is selected by the function select_bad_process(). It
tends to select a young process which takes a lot of memory. 

All these informations are extracted from the prefect mel gorman's book,
Linux VM. You can find it (and you must read it:)) here :
http://www.skynet.ie/~mel/projects/
The last chapter is about OOM.

-- 
tyler
tyler@xxxxxxxx


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com


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