Re: [patch] cpusets: do not allow TIF_MEMDIE tasks to allocateglobally

From: David Rientjes
Date: Tue Jun 05 2007 - 18:43:27 EST


On Tue, 5 Jun 2007, Christoph Lameter wrote:

> On Tue, 5 Jun 2007, David Rientjes wrote:
>
> > Reverts git commit c596d9f320aaf30d28c1d793ff3a976dee1db8f5.
> >
> > OOM-killed tasks, marked as TIF_MEMDIE, should not be able to access
> > memory outside its cpuset because it could potentially cause other
> > exclusive cpusets to OOM themselves.
>
> Those terminating tasks need that memory to terminate properly right?
>

No, they need access only to the memory reserves provided by the
difference in their low and no watermarks on a per-cpuset basis.
-
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/