On Sun, Oct 16, 2011 at 8:33 PM, Andi Kleen a...@firstfloor.org wrote:
On Sun, Oct 16, 2011 at 12:38:16PM +0200, Richard Guenther wrote:
On Sun, Oct 16, 2011 at 7:30 AM, Andi Kleen a...@firstfloor.org wrote:
Andi Kleen a...@firstfloor.org writes:
From: Andi Kleen a...@linux.intel.com
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
On Sun, Oct 16, 2011 at 7:30 AM, Andi Kleen a...@firstfloor.org wrote:
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
On Sun, Oct 16, 2011 at 12:38:16PM +0200, Richard Guenther wrote:
On Sun, Oct 16, 2011 at 7:30 AM, Andi Kleen a...@firstfloor.org wrote:
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
On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen a...@firstfloor.org wrote:
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
On Mon, Oct 10, 2011 at 12:25:15PM +0200, Richard Guenther wrote:
On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen a...@firstfloor.org wrote:
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
On Mon, Oct 10, 2011 at 12:45 PM, Jakub Jelinek ja...@redhat.com wrote:
On Mon, Oct 10, 2011 at 12:25:15PM +0200, Richard Guenther wrote:
On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen a...@firstfloor.org wrote:
From: Andi Kleen a...@linux.intel.com
Use the Linux MADV_DONTNEED call to unmap
On Mon, Oct 10, 2011 at 01:11:13PM +0200, Richard Guenther wrote:
I don't see why. MADV_DONTNEED isn't perfect, what it does (on Linux)
is that it zaps the whole page range, which essentially brings it into
the exact same state as immediately after mmap. Any touch of the
pages will
On Mon, Oct 10, 2011 at 4:04 PM, Andi Kleen a...@firstfloor.org wrote:
Shouldn't we prefer still mapped pages when allocating? Thus, keep
the freepages list sorted?
Possibly. I can look at it in a followup if you want.
I would prefer to not complicate this patch too much.
With the new
So can we move the param patch back as a possible followup?
I can drop it, however it will still mean fragmentation on any
non Linux (or rather non MADV_DONTNEED) hosts.
-Andi
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
11 matches
Mail list logo