Re: [PATCH] oom_kill: use rss value instead of vm size for badness

From: KAMEZAWA Hiroyuki
Date: Thu Oct 29 2009 - 19:44:22 EST


On Thu, 29 Oct 2009 02:44:45 -0700 (PDT)
David Rientjes <rientjes@xxxxxxxxxx> wrote:
> > Then,
> > - I'd like to drop file_rss.
> > - I'd like to take swap_usage into acccount.
> > - I'd like to remove cpu_time bonus. runtime bonus is much more important.
> > - I'd like to remove penalty from children. To do that, fork-bomb detector
> > is necessary.
> > - nice bonus is bad. (We have oom_adj instead of this.) It should be
> > if (task_nice(p) < 0)
> > points /= 2;
> > But we have "root user" bonus already. We can remove this line.
> >
> > After above, much more simple selection, easy-to-understand, will be done.
> >
>
> Agreed, I think we'll need to rewrite most of the heuristic from scratch.

I'd like to post total redesgin of oom-killer in the next week.
plz wait.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/