[patch] Fix PR 84487, large rodata increase in tonto and other programs
Florian Weimer
fweimer@redhat.com
Wed Apr 17 13:13:00 GMT 2019
* Andreas Schwab:
> On Apr 17 2019, Florian Weimer <fweimer@redhat.com> wrote:
>
>> * Andreas Schwab:
>>
>>> On Apr 17 2019, Florian Weimer <fweimer@redhat.com> wrote:
>>>
>>>> Not just that, .bss adds to the commit charge,
>>>
>>> Only one page at most.
>>
>> That would be a bug.
>
> You cannot avoid it for the page shared with .data, unless you force
> .bss to be page aligned.
Would you please elaborate?
With “commit charge”, I mean address space accounted towards the commit
limit, when Linux is running in vm.overcommit_memory=2 mode.
Thanks,
Florian
More information about the Gcc-patches
mailing list