Re: [PATCH 1/3] Add missing page rounding of a page_entry

2011-10-21 Thread Andi Kleen
On Fri, Oct 21, 2011 at 11:52:44AM +0200, Jakub Jelinek wrote: > On Fri, Oct 21, 2011 at 11:42:26AM +0200, Richard Guenther wrote: > > On Fri, Oct 21, 2011 at 7:52 AM, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > This one place in ggc forgot to round page_entry->bytes to the > > > next pa

Re: [PATCH 1/3] Add missing page rounding of a page_entry

2011-10-21 Thread Jakub Jelinek
On Fri, Oct 21, 2011 at 11:42:26AM +0200, Richard Guenther wrote: > On Fri, Oct 21, 2011 at 7:52 AM, Andi Kleen wrote: > > From: Andi Kleen > > > > This one place in ggc forgot to round page_entry->bytes to the > > next page boundary, which lead to all the heuristics in freeing to > > check for c

Re: [PATCH 1/3] Add missing page rounding of a page_entry

2011-10-21 Thread Richard Guenther
On Fri, Oct 21, 2011 at 7:52 AM, Andi Kleen wrote: > From: Andi Kleen > > This one place in ggc forgot to round page_entry->bytes to the > next page boundary, which lead to all the heuristics in freeing to > check for continuous memory failing. Round here too, like all other > allocators already