[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.00.0802051507460.18347@chino.kir.corp.google.com>
Date: Tue, 5 Feb 2008 15:09:16 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Jeff Davis <linux@...avis.com>
cc: balbir@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Andrea Arcangeli <andrea@...ranet.com>
Subject: Re: [PATCH] badness() dramatically overcounts memory
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists