Prev: + oom-fold-__out_of_memory-into-out_of_memory.patch added to -mm tree
Next: + oom-check-pf_kthread-instead-of-mm-to-skip-kthreads.patch added to -mm tree
From: KOSAKI Motohiro on 16 Jun 2010 22:00 > > The patch titled > oom: sacrifice child with highest badness score for parent fix > has been added to the -mm tree. Its filename is > oom-sacrifice-child-with-highest-badness-score-for-parent-fix.patch > > Before you just go and hit "reply", please: > a) Consider who else should be cc'ed > b) Prefer to cc a suitable mailing list as well > c) Ideally: find the original patch on the mailing list and do a > reply-to-all to that, adding suitable additional cc's > > *** Remember to use Documentation/SubmitChecklist when testing your code *** > > See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find > out what to do about this > > The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ > > ------------------------------------------------------ > Subject: oom: sacrifice child with highest badness score for parent fix > From: David Rientjes <rientjes(a)google.com> > > Elaborate on the comment in oom_kill_process() so it's clear why a > killable child with a different mm is sacrificied for its parent. > > At the same time, rename auto variable `c' to "child" and move "cpoints" > inside the list_for_each_entry() loop with a more descriptive name as akpm > suggests. > > Signed-off-by: David Rientjes <rientjes(a)google.com> > Cc: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> > Cc: Balbir Singh <balbir(a)in.ibm.com> > Cc: Oleg Nesterov <oleg(a)redhat.com> > Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org> Acked-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |