Andi Kleen <a...@firstfloor.org> writes: > From: Andi Kleen <a...@linux.intel.com> > > 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 -- a...@linux.intel.com -- Speaking for myself only