Commit 26c9bae
lparstat: Use pool_capacity for determining active cpus in a pool
The function get_active_cpus_in_pool() primarily used the value from the
physical_procs_allocated_to_virtualization sysentry to represent the
cpus active in a pool. This is incorrect as that value represents
the physical processors in the system allocated to virtualization.
This patch changes the get_active_cpus_in_pool() function to only use
the pool_capacity sysentry for correctly determining the active cpus
in a pool.
Fixes: efa87d9 ("lparstat: Correct presentation of some stats")
Signed-off-by: Luciano Chavez <[email protected]>
Signed-off-by: Tyrel Datwyler <[email protected]>1 parent 4039866 commit 26c9bae
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
| 788 | + | |
| 789 | + | |
795 | 790 | | |
796 | 791 | | |
797 | 792 | | |
| |||
0 commit comments