Messages in this thread | | | Date | Fri, 30 Oct 2009 08:41:34 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [PATCH] oom_kill: use rss value instead of vm size for badness |
| |
On Thu, 29 Oct 2009 02:44:45 -0700 (PDT) David Rientjes <rientjes@google.com> 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
| |