From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 14 Jan 2005 20:16:44 -0200 From: Marcelo Tosatti Subject: Re: [PATCH] Avoiding fragmentation through different allocator V2 Message-ID: <20050114221644.GE3336@logos.cnet> References: <20050114213619.GA3336@logos.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050114213619.GA3336@logos.cnet> Sender: owner-linux-mm@kvack.org Return-Path: To: Mel Gorman Cc: Linux Memory Management List , Linux Kernel Mailing List List-ID: > You want to do > free_pages -= (z->free_area_lists[0][o].nr_free + z->free_area_lists[2][o].nr_free + ^^^^ = 1 > z->free_area_lists[2][o].nr_free) << o; I meant the sum of the free lists. You'd better use the defines instead of course :) > So not to interfere with the "min" decay (and remove the allocation type loop). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org