Andi Kleen <[email protected]> writes: > From: Andi Kleen <[email protected]> > > Use the Linux MADV_DONTNEED call to unmap free pages in the garbage > collector.Then keep the unmapped pages in the free list. This avoid > excessive memory fragmentation on large LTO bulds, which can lead > to gcc bumping into the Linux vm_max_map limit per process.
Could I have a decision on this patch please? The problem in PR50636 is still there and this is the minimum fix to fix it on Linux as far as I know. If this patch is not the right way to go I would appreciate some guidance on an alternative (but low cost) implementation. Note I don't have capacity for any overly complicated solutions. Thanks, -Andi -- [email protected] -- Speaking for myself only
