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

Mike Fedyk
2003-08-28T16:55:07Z

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.