Re: Linux killed Kenny, bastard!
From: Alan Cox
Date: Tue Jan 13 2009 - 08:59:32 EST
> +potential rouge process. F.ex. to make sure the process "Kenny" will be a
> +prime candidate to get killed:
> +
> + echo 15 > /proc/self/oom_adj
> + ./Kenny
> + echo -15 > /proc/self/oom_adj
> +
This is a bogus and silly example - but it does show why the whole thing
is not needed
(echo "15" >/proc/self/oom_adj; exec ./Kenny) &
See it's like nice, you can do it yourself anyway if you are
co-operating, and if you aren't co-operating you need containers anyway...
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/