LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Jeff Davis <linux@j-davis.com>
Cc: balbir@linux.vnet.ibm.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, Andrea Arcangeli <andrea@qumranet.com>
Subject: Re: [PATCH] badness() dramatically overcounts memory
Date: Tue, 5 Feb 2008 15:09:16 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.1.00.0802051507460.18347@chino.kir.corp.google.com> (raw)
In-Reply-To: <1202252561.24634.64.camel@dogma.ljc.laika.com>
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.
Specifically:
http://marc.info/?l=linux-mm&m=119977937126925
next prev parent reply other threads:[~2008-02-05 23:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1202182480.24634.22.camel@dogma.ljc.laika.com>
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:
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=alpine.DEB.1.00.0802051507460.18347@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=andrea@qumranet.com \
--cc=balbir@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@j-davis.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;
as well as URLs for NNTP newsgroup(s).