Re: [PATCH] memory counting fix

From: Rik van Riel
Date: Tue Oct 07 2003 - 07:52:44 EST


On Tue, 7 Oct 2003, Marcelo Tosatti wrote:

> I dont see why reserved pages shouldnt be counted in the processes RSS.

Then you'll need to change about a dozen pieces of code
all over the place ;)

> What I'm missing here, Jaroslav?

The rest of the kernel doesn't count reserved pages as
part of the rss. This patch seems to simply bring this
piece of code into line with the rest.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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