Messages in this thread | | | Date | Thu, 28 Aug 2003 10:07:16 -0700 | From | William Lee Irwin III <> | Subject | Re: [PATCH] 2.6.0-test4 -- add context switch counters |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |