2016-02-15 4:32 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Sun, 14 Feb 2016 22:41:43 +0100
> Cc: andrewjmoreton@gmail.com, 22526@debbugs.gnu.org
>
> As vmmap shows it, the next region is unusable.
> The reserved region is 4k and the 60k after are lost.

But we only asked for 800 bytes, which could have been satisfied by
those 4KB that were reserved there, no?  So why dod the commit fail?


As I read it, the first bloc has been reserved and committed for 4k = 0x10000 starting at 0x1f0000, and then 800 bytes
have been asked for at 0x1f0000+0x10000 = 0x200000, but we failedl to extend the block (mmap_realloc failed
to commit further pages to accommodate the 800 bytes).

Am I wrong ?

Fabrice