public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "KOSAKI Motohiro" <kosaki.motohiro@jp.fujitsu.com>
To: "Anders Johansson" <ajohansson@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] making /proc/<pid>/limits writable
Date: Thu, 31 Jul 2008 05:53:44 +0900	[thread overview]
Message-ID: <2f11576a0807301353h2d31f021m22b34d3a67e830c@mail.gmail.com> (raw)
In-Reply-To: <200807302157.46261.ajohansson@suse.de>

Hi Andres,

> Attached is a patch making the limits for a process writable, so it is
> possible to change the limits of a task other than current.
>
> There are many reasons why this is desirable. The core limit is to me the most
> important. If a process hangs, because of some sort of race condition that
> happens once in a blue moon, and ulimit -c is set to 0, it might take forever
> to reproduce. It would be nice to be able to change that limit dynamically, to
> be able to get a core dump.
>
> Other limits should also be settable, but for now I've only done core size.

Hmm..
I agree to your motivation.

but I have two objection.
 - this interface is slightly ugly. end user can't lean easily.
 - you don't write any documentation nor patch description about how to use.
   So, I needed to read source code for know about how to use.

  reply	other threads:[~2008-07-30 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 19:57 [PATCH] making /proc/<pid>/limits writable Anders Johansson
2008-07-30 20:53 ` KOSAKI Motohiro [this message]
2008-07-30 21:43 ` Jiri Slaby

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=2f11576a0807301353h2d31f021m22b34d3a67e830c@mail.gmail.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=ajohansson@suse.de \
    --cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox