diff --git a/src/lpar.c b/src/lpar.c
index b9471fb72a20bf20a5257fb461df2f31a7325887..d25715e850441ec8728e9680f5ea22855cf83030 100644 (file)
--- a/src/lpar.c
+++ b/src/lpar.c
double pool_busy_cpus;
/* We're calculating "busy" from "idle" and the total number of
- * CPUs, because according to Aurélien Reynaud using the "busy"
- * member yields values that differ from the values produced by
- * the LPAR command line tools. --octo */
+ * CPUs, because the "busy" member didn't exist in early versions
+ * of libperfstat. It was added somewhere between AIX 5.3 ML5 and ML9. */
pool_idle_ns = lparstats.pool_idle_time - lparstats_old.pool_idle_time;
pool_idle_cpus = NS_TO_TICKS ((double) pool_idle_ns) / (double) ticks;
pool_busy_cpus = ((double) lparstats.phys_cpus_pool) - pool_idle_cpus;