Re: [RFC] ipc: introduce shm_rmid_forced sysctl

From: Alan Cox
Date: Sun Jul 03 2011 - 17:24:08 EST


> This is a simple extension of the OOM killer being able to ... kill
> things on OOM, ok? 'to kill' implies 'to break'.

If you do it on the OOM killer then yes that aspect makes sense. The real
problem is that Linux has shipped a broken default for the past ten years.

The number of times I have to explain to industrial and business
customers that Linux doesn't suck but the defaults are stupid is
astounding, and they then wonder why either the authors or their vendor is
a complete and utter moron.

But yes from an OOM perspective killing an unattached SHM segment makes
as much sense as killing anything else.

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