public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Epler <jepler@dsndata.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Path: for oom_kill.c
Date: Mon, 4 Dec 2000 11:52:36 -0600	[thread overview]
Message-ID: <20001204115236.B974@dsndata.com> (raw)
In-Reply-To: <20001204162712Z129770-439+868@vger.kernel.org> <Pine.LNX.4.21.0012041456100.29258-100000@duckman.distro.conectiva>
In-Reply-To: <Pine.LNX.4.21.0012041456100.29258-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Mon, Dec 04, 2000 at 02:57:34PM -0200

On Mon, Dec 04, 2000 at 02:57:34PM -0200, Rik van Riel wrote:
> On Sat, 2 Dec 2000, hugang wrote:
> 
> > Hello all:
> > 	
> > old    ---->     points = p->mm->total_vm;
> >        
> > change to --->   points = p->pid;
> 
> Ummm, what exactly do you want to achieve with this?

I suspect that hugang whishes to kill the newest process.  However,
this will not work after PID wrap.

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2000-12-04 18:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07 16:19 [PATCH] protect processes from OOM killer Chris Swiedler
2000-11-07 20:47 ` Ingo Oeser
2000-11-07 21:44 ` Frank van Maarseveen
2000-12-02  2:20 ` Path: for oom_kill.c hugang
2000-12-04 16:57   ` Rik van Riel
2000-12-04 17:52     ` Jeff Epler [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=20001204115236.B974@dsndata.com \
    --to=jepler@dsndata.com \
    --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