On Wed, Feb 15, 2017 at 10:29:41PM +0000, Richard W.M. Jones wrote:
Yes, or even how about this (not tried it):
while (off <= h->endpages - 0x1000) {
...
}
In fact this doesn't work either :-(
I'll have another look at this tomorrow morning.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top