On 7/8/21 12:09 PM, Alex Bennée wrote:
-       for (i = 0; i < 0x1fff; i++)
+       for (i = 0; i < 0x1ff; i++)
        {
                size_t len;
len = pagesize + (pagesize * i & 7);

There's really no point in i >= 8.

We release all of the memory at the end of the loop; we'll probably get back the same pages on the 8'th iteration.


-       for (i = 0; i < 0x2fff; i++)
+       for (i = 0; i < 0x2ff; i++)

I'm not sure why this one is iterating more than twice?


r~

Reply via email to