[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch #406] [Patch #406] A small clean up of vmstat
From: |
James Morrison |
Subject: |
Re: [patch #406] [Patch #406] A small clean up of vmstat |
Date: |
Fri, 1 Aug 2003 07:30:17 -0400 (EDT) |
> Patch #406 has been updated.
>
> Project:
> Category: None
> Status: Open
> Summary: A small clean up of vmstat
>
> Follow-Ups:
>
> Date: Thu 07/31/2003 at 22:44
> By: marcus
>
> Comment:
> I am not sure what the problem is with the current code. In your mail you
> said that vmstat wouldn't report your memory size correctly, but it might
> have reported correctly the available memory, ie the physical memory minus
> the reserved memory.
>
> Is this what we are talking about?
>
It seems I was confused when I sent this patch. I figured vmstat should
actually show the memory that the system has as opposed to the memory the
system has available for user space processes. This means the changes to
get_size and to the Makefile (which apparently I didn't attach) are not
useful. This leaves the changes to use memset, which are fine. It also
leaves changes some 0 values to -1. I can't see my logic for this.
I'm going to try to figure out how to discard this patch now. That's for
commenting :)
Jim
- Re: [patch #406] [Patch #406] A small clean up of vmstat,
James Morrison <=