Re: [PATCH 3/5] On a Linux kernel ask explicitely for a huge page in ggc

2011-10-10 Thread Andi Kleen
On Mon, Oct 10, 2011 at 12:29:03PM +0200, Jakub Jelinek wrote: > On Mon, Oct 10, 2011 at 12:15:14PM +0200, Richard Guenther wrote: > > On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > Benchmarks show slightly faster build times on a kernel > > > build, near the

Re: [PATCH 3/5] On a Linux kernel ask explicitely for a huge page in ggc

2011-10-10 Thread Andi Kleen
On Mon, Oct 10, 2011 at 12:15:14PM +0200, Richard Guenther wrote: > On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > Benchmarks show slightly faster build times on a kernel > > build, near the measurement error unfortunately. > > > > This will only work with a recent

Re: [PATCH 3/5] On a Linux kernel ask explicitely for a huge page in ggc

2011-10-10 Thread Jakub Jelinek
On Mon, Oct 10, 2011 at 12:15:14PM +0200, Richard Guenther wrote: > On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > Benchmarks show slightly faster build times on a kernel > > build, near the measurement error unfortunately. > > > > This will only work with a recent

Re: [PATCH 3/5] On a Linux kernel ask explicitely for a huge page in ggc

2011-10-10 Thread Richard Guenther
On Sun, Oct 9, 2011 at 9:55 PM, Andi Kleen wrote: > From: Andi Kleen > > Benchmarks show slightly faster build times on a kernel > build, near the measurement error unfortunately. > > This will only work with a recent glibc that defines MADV_HUGEPAGE. Will partial unmaps fail or split the page?

[PATCH 3/5] On a Linux kernel ask explicitely for a huge page in ggc

2011-10-09 Thread Andi Kleen
From: Andi Kleen Benchmarks show slightly faster build times on a kernel build, near the measurement error unfortunately. This will only work with a recent glibc that defines MADV_HUGEPAGE. 2011-10-08 Andi Kleen * ggc-page.c (alloc_page): Add madvise for hugepage --- gcc/ggc-page.c