Re: [BUGFIX][PATCH] oom-kill: fix NUMA consraint check withnodemask v4.2

From: KAMEZAWA Hiroyuki
Date: Mon Dec 14 2009 - 23:39:22 EST


On Mon, 14 Dec 2009 20:30:37 -0800 (PST)
David Rientjes <rientjes@xxxxxxxxxx> wrote:
> > 2 ideas which I can think of now are..
> > 1) add sysctl_oom_calc_on_committed_memory
> > If this is set, use vm-size instead of rss.
> >
>
> I would agree only if the oom killer used total_vm as a the default, it is
> long-standing and allows for the aforementioned capability that you lose
> with rss. I have no problem with the added sysctl to use rss as the
> baseline when enabled.
>
I'll prepare a patch for adds

sysctl_oom_kill_based_on_rss (default=0)

ok ?

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/