On 10/10/2017 09:48 AM, Stefan Weil wrote: > If we really expect more than 2^32 pages, touching all those pages > will need a significant time even on fast machines.
Sure. But surely taking a long time is better than silently ignoring high-bits of a quantity. > What about using size_t instead of uint64_t? Parts of the code already > use size_t, and it makes a difference for QEMU running on 32 bit hosts. I'm ok with that, so long as all of the relevant variables are changed, not just that of "i". r~