Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262086AbVAOBMf (ORCPT ); Fri, 14 Jan 2005 20:12:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262104AbVAOBM3 (ORCPT ); Fri, 14 Jan 2005 20:12:29 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:42470 "EHLO parcelfarce.linux.theplanet.co.uk") by vger.kernel.org with ESMTP id S262091AbVAOBLD (ORCPT ); Fri, 14 Jan 2005 20:11:03 -0500 Date: Fri, 14 Jan 2005 20:16:44 -0200 From: Marcelo Tosatti To: Mel Gorman Cc: Linux Memory Management List , Linux Kernel Mailing List 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> User-Agent: Mutt/1.5.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 603 Lines: 13 > 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/