Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-11-06 Thread Mike Yoknis
On Tue, 2012-10-30 at 09:14 -0600, Dave Hansen wrote: > On 10/20/2012 01:29 AM, Mel Gorman wrote: > > I'm travelling at the moment so apologies that I have not followed up on > > this. My problem is still the same with the patch - it changes more > > headers than is necessary and it is sparsemem sp

[PATCH v2] mm: memmap_init_zone() performance improvement

2012-10-26 Thread Mike Yoknis
. The code will skip across invalid pfn values to reduce the number of loops executed. Signed-off-by: Mike Yoknis --- mm/page_alloc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 45c916b..9f9c1a6 100644 --- a/mm/page_alloc.c +++ b

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-24 Thread Mike Yoknis
On Sat, 2012-10-20 at 09:29 +0100, Mel Gorman wrote: > On Fri, Oct 19, 2012 at 01:53:18PM -0600, Mike Yoknis wrote: > > On Tue, 2012-10-09 at 08:56 -0600, Mike Yoknis wrote: > > > On Mon, 2012-10-08 at 16:16 +0100, Mel Gorman wrote: > > > > On Wed, Oct 03, 2012 at

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-19 Thread Mike Yoknis
On Tue, 2012-10-09 at 08:56 -0600, Mike Yoknis wrote: > On Mon, 2012-10-08 at 16:16 +0100, Mel Gorman wrote: > > On Wed, Oct 03, 2012 at 08:56:14AM -0600, Mike Yoknis wrote: > > > memmap_init_zone() loops through every Page Frame Number (pfn), > > > including pfn valu

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-09 Thread Mike Yoknis
On Mon, 2012-10-08 at 16:16 +0100, Mel Gorman wrote: > On Wed, Oct 03, 2012 at 08:56:14AM -0600, Mike Yoknis wrote: > > memmap_init_zone() loops through every Page Frame Number (pfn), > > including pfn values that are within the gaps between existing > > memory sections. The