Re: [BUGFIX][PATCH] oom-kill: fix NUMA consraint check withnodemask v3

From: KAMEZAWA Hiroyuki
Date: Tue Nov 10 2009 - 22:13:24 EST


On Wed, 11 Nov 2009 12:02:06 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

> > There should be a way around that, however. Shouldn't
> >
> > if (nodes_subset(node_states[N_HIGH_MEMORY], *nodemask))
> > return CONSTRAINT_MEMORY_POLICY;
> >
> > be sufficient?
>
> Is this safe on memory hotplug case?
>
N_HIGH_MEMORY is updated at memory hotplug.

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/