Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

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

 



On Tue, 23 Sep 2014, 朱辉 wrote:

> > By the way, whether we need to modify out_of_memory() which also
> > try to kill task?
> 
> I am not sure because LMK handle the memory issue early than OOM.
> But I think this issue will not affect OOM because OOM has oom_zonelist_trylock and oom_zonelist_unlock.
> 

The oom killer tries to schedule other processes that exit the oom killer 
without being a victim itself and any process that cannot get the zonelist 
lock will do the same in the page allocator.  The low memory killer case 
is somewhat different.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux