From: Rik van Riel <riel@redhat.com>
To: stone_wang@sohu.com
Cc: akpm@osdl.org, linux-mm@kvack.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Linux-2.6.11-rc5: kernel/sys.c setrlimit() RLIMIT_RSS cleanup
Date: Sun, 27 Feb 2005 12:21:05 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.61.0502271220210.19979@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <17855236.1109499454066.JavaMail.postfix@mx20.mail.sohu.com>
On Sun, 27 Feb 2005 stone_wang@sohu.com wrote:
> ulimit dont enforce RLIMIT_RSS now,while sys_setrlimit() pretend
> it(RLIMIT_RSS) is enforced.
>
> This may cause confusion to users, and may lead to un-guaranteed
> dependence on "ulimit -m" to limit users/applications.
>
> The patch fixed the problem.
Some kernels do enforce the RSS rlimit. Your patch could break
systems that have the RSS rlimit in their configuration files
because they used to run a kernel that enforces the RSS rlimit.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--
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:"aart@kvack.org"> aart@kvack.org </a>
prev parent reply other threads:[~2005-02-27 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-27 10:17 stone_wang
2005-02-27 10:31 ` Andrew Morton
2005-02-27 23:56 ` Peter Chubb
2005-02-27 17:21 ` Rik van Riel [this message]
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=Pine.LNX.4.61.0502271220210.19979@chimarrao.boston.redhat.com \
--to=riel@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=stone_wang@sohu.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox