Richard Henderson writes:
> 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
On 08/07/2021 21.09, Alex Bennée wrote:
The check_aligned_anonymous_unfixed_mmaps and
check_aligned_anonymous_unfixed_colliding_mmaps do a lot of mmap's and
copying of data. This is especially unfriendly to targets like hexagon
which have quite large pages and need to do sanity checks on each
mem
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 probab
The check_aligned_anonymous_unfixed_mmaps and
check_aligned_anonymous_unfixed_colliding_mmaps do a lot of mmap's and
copying of data. This is especially unfriendly to targets like hexagon
which have quite large pages and need to do sanity checks on each
memory access.
Signed-off-by: Alex Bennée
-