Here is a more detailed explanation of the bug:

Linux kernel defines /proc/vmstat::pgpgin as type unsigned long, so it is 
uint32 on 32 bit Linux, uint64 on 64 bit Linux.
 
VMware Tools reads /proc/vmstat::pgpgin and saves it as uint64 type on both 32 
& 64 bit Linux.
 
When 64 bit kernel /proc/vmstat::pgpgin value overflows, VMware Tools can 
correctly calculates the difference by doing uint64 type subtraction.
 
When 32 bit kernel /proc/vmstat::pgpgin value overflows, the difference should 
be calculated by doing uint32 type subtraction, not uint64 type subtraction 
which would result in a fake huge difference. This is the bug that we have 
fixed.
 
Depends on Linux system memory usage, it could take many days for kernel 
/proc/vmstat::pgpgin value to overflow, so this bug is hard to reproduce.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793219

Title:
  open-vm-tools guest stats overflow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1793219/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to