Re: [PATCH] 2.6.0-test4 -- add context switch counters

From: Mike Fedyk
Date: Thu Aug 28 2003 - 11:56:16 EST


On Wed, Aug 27, 2003 at 12:51:43AM -0700, William Lee Irwin III wrote:
> On Wed, Aug 27, 2003 at 05:39:27PM +1000, Peter Chubb wrote:
> > It's unclear what `swaps' are in Linux. Traditionally, this rusage
> > field was the number of complete swapouts --- I'm not sure what the
> > equivalent is when processes are not swapped out holus-bolus, but are
> > paged gradually.
>
> We don't have load control yet; the counters should probably be removed
> until we do.

Why not just count the number of pages swapped in/out per process? I'm sure
that would be helpful for VM tools polling for stats from userspace... And
even in the development of load control.
-
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/