Re: [patch -mm 1/2] oom: badness heuristic rewrite

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

 



On Tue, 3 Aug 2010, KAMEZAWA Hiroyuki wrote:

> > Hmm, then, oom_score shows the values for all limitations in array ?
> > 
> Anyway, the fact "oom_score can be changed by the context of OOM" may
> confuse admins. "OMG, why low oom_score application is killed! Shit!"
> 
> Please add additional cares for users if we go this way or remove
> user visible oom_score file from /proc.
> 

Sure, a task could be killed with a very low /proc/pid/oom_score, but only 
if its cpuset is oom, for example, and it has the highest score of all 
tasks attached to that oom_score.  So /proc/pid/oom_score needs to be 
considered in the context in which the oom occurs: system-wide, cpuset, 
mempolicy, or memcg.  That's unchanged from the old oom killer.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]