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

From: Christoph Lameter
Date: Tue Jun 05 2007 - 21:54:37 EST


On Tue, 5 Jun 2007, David Rientjes wrote:

> mems_allowed. Regardless, we should not allow allocations outside of the
> cpuset because we have marked it TIF_MEMDIE and we don't have any explicit
> guarantee that it is exiting yet and not mlock'ing an excessive amount of
> memory that exceeds the capacity of all cpuset nodes.

Hmmmm... But we have sent it a SIGKILL. If the process is following
conventions then it is exiting. Of course the process could be abusing the
system and attempting to OOM the whole system as an act of revenge for
being killed but isnt this a bit far fetched?



-
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/