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

William Lee Irwin III
2003-08-28T17:06:38Z

On Wed, Aug 27, 2003 at 12:51:43AM -0700, William Lee Irwin III wrote:
>> We don't have load control yet; the counters should probably be removed
>> until we do.

On Thu, Aug 28, 2003 at 09:55:04AM -0700, Mike Fedyk wrote:
> 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.

That's good to report, sure; however, that would violate the semantics
of getrusage(), whose nswap refers to whole-process swapping done for
the purposes of reducing the multiprogramming level (i.e. load control).

-- wli