From: "Jörn Engel" <joern@logfs.org>
To: Minchan Kim <minchan@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH, RFC] mm: Implement RLIMIT_RSS
Date: Thu, 13 Jun 2013 10:43:47 -0400 [thread overview]
Message-ID: <20130613144347.GA13217@logfs.org> (raw)
In-Reply-To: <20130613085732.GB4533@bbox>
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.
JA?rn
--
Measuring programming progress by lines of code is like measuring aircraft
building progress by weight.
-- Bill Gates
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: "Jörn Engel" <joern@logfs.org>
To: Minchan Kim <minchan@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH, RFC] mm: Implement RLIMIT_RSS
Date: Thu, 13 Jun 2013 10:43:47 -0400 [thread overview]
Message-ID: <20130613144347.GA13217@logfs.org> (raw)
In-Reply-To: <20130613085732.GB4533@bbox>
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
next prev parent reply other threads:[~2013-06-13 16:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 18:29 [PATCH, RFC] mm: Implement RLIMIT_RSS Jörn Engel
2013-06-11 18:29 ` Jörn Engel
2013-06-11 21:16 ` Johannes Weiner
2013-06-11 21:16 ` Johannes Weiner
2013-06-11 21:53 ` Jörn Engel
2013-06-11 21:53 ` Jörn Engel
2013-06-13 8:57 ` Minchan Kim
2013-06-13 8:57 ` Minchan Kim
2013-06-13 14:43 ` Jörn Engel [this message]
2013-06-13 14:43 ` Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130613144347.GA13217@logfs.org \
--to=joern@logfs.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.