LKML Archive on
help / color / mirror / Atom feed
From: David Rientjes <>
To: Jeff Davis <>
Cc:,,, Andrea Arcangeli <>
Subject: Re: [PATCH] badness() dramatically overcounts memory
Date: Tue, 5 Feb 2008 15:09:16 -0800 (PST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, 5 Feb 2008, Jeff Davis wrote:

> > The interesting thing is the use of total_vm and not the RSS which is used as
> > the basis by the OOM killer. I need to read/understand the code a bit more.
> RSS makes more sense to me as well.
> To me, it makes no sense to count shared memory, because killing a
> process doesn't free the shared memory.

Andrea Arcangeli has patches pending which change this to the RSS.  

  reply	other threads:[~2008-02-05 23:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2008-02-05  4:13 ` [PATCH] badness() dramatically overcounts memory Balbir Singh
2008-02-05 23:02   ` Jeff Davis
2008-02-05 23:09     ` David Rientjes [this message]
2008-02-06  1:54       ` KOSAKI Motohiro
2008-02-06  2:05         ` David Rientjes
2008-02-06  4:00         ` Balbir Singh

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).