Re: [PATCH, RFC] mm: Implement RLIMIT_RSS

From: JÃrn Engel
Date: Thu Jun 13 2013 - 12:13:34 EST


On Thu, 13 June 2013 17:57:32 +0900, Minchan Kim wrote:
>
> It means you already know the max rss of the application in advance
> so you can use taskstats's hiwater_rss if you don't need to catch
> the moment which rss is over the limit.

I would like to catch the very moment. Just for my particular needs,
it doesn't matter much if you overshoot by 10% or so. But eventually
I would like a patch that is off by less than 1% and low-overhead at
the same time.

JÃrn

--
Measuring programming progress by lines of code is like measuring aircraft
building progress by weight.
-- Bill Gates
--
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/