Re: [PATCH V2] nommu: add anonymous page memcg accounting
From: Steven J. Magnani
Date: Wed Oct 20 2010 - 08:55:36 EST
On Wed, 2010-10-20 at 09:17 +0900, KAMEZAWA Hiroyuki wrote:
> On Tue, 19 Oct 2010 13:24:17 -0500
> "Steven J. Magnani" <steve@xxxxxxxxxxxxxxx> wrote:
>
> > On Tue, 2010-10-19 at 21:18 +0530, Balbir Singh wrote:
> > > * Steven J. Magnani <steve@xxxxxxxxxxxxxxx> [2010-10-19 07:34:14]:
> > > > +
> > > > +At the present time, only anonymous pages are included in NOMMU memory cgroup
> > > > +accounting.
> > >
> > > What is the reason for tracking just anonymous memory?
> >
> > Tracking more than that is beyond my current scope, and perhaps of
> > limited benefit under an assumption that NOMMU systems don't usually
> > work with large files. The limitations of the implementation are
> > documented, so hopefully anyone who needs more functionality will know
> > that they need to implement it.
> >
>
> What happens at reaching limit ? memory can be reclaimed ?
I'm not quite sure what you're asking. In my usage, the OOM-killer gets
invoked and the 'runaway' dosfsck process gets terminated; at that point
all its memory is freed.
Regards,
------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"
#include <standard.disclaimer>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/