Re: [PATCH] Display 0 in meminfo for Committed_AS when valueunderflows

From: Andrew Morton
Date: Mon Apr 27 2009 - 15:56:19 EST


On Mon, 27 Apr 2009 09:15:14 -0700
Dave Hansen <dave@xxxxxxxxxxxxxxxxxx> wrote:

> On Mon, 2009-04-27 at 17:10 +0100, Eric B Munson wrote:
> > Splitting this patch from the chunk that addresses the cause of the underflow
> > because the solution still requires some discussion.
> >
> > Dave Hansen reported that under certain cirumstances the Committed_AS value
> > can underflow which causes extremely large numbers to be displayed in
> > meminfo. This patch adds an underflow check to meminfo_proc_show() for the
> > Committed_AS value. Most fields in /proc/meminfo already have an underflow
> > check, this brings Committed_AS into line.
>
> Yeah, this is the right fix for now until we can iron out the base
> issues. Eric, I think this may also be a candidate for -stable.
>
> Signed-off-by: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>

I cannot find Eric's original patch anywhere. Did some demented MTA munch it?

--
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/