|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH] linux-user: Add TARGET_MAP_STACK and TARGET_MAP_HUGETLB for all remaining architectures |
Date: | Tue, 14 Mar 2017 06:52:19 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 03/14/2017 12:09 AM, Helge Deller wrote:
But the main intention of my patch was not to fix MAP_STACK or MAP_HUGETLB, but more to ensure that those flags are avoided to be handed over to the host. For example, TARGET_MAP_STACK is 0x40000 on hppa, and if it's not filtered out in e.g. a mmap() call, then this becomes to MAP_HUGETLB on x86_64 (which is 0x40000 on x86_64).
Ah... yes. That is a much better point. r~
[Prev in Thread] | Current Thread | [Next in Thread] |