Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758804AbYCYRxT (ORCPT ); Tue, 25 Mar 2008 13:53:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754290AbYCYRxM (ORCPT ); Tue, 25 Mar 2008 13:53:12 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:36328 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753112AbYCYRxK (ORCPT ); Tue, 25 Mar 2008 13:53:10 -0400 Date: Tue, 25 Mar 2008 10:51:18 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Andi Kleen cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [13/14] vcompound: Use vcompound for swap_map In-Reply-To: <20080325175508.GV2170@one.firstfloor.org> Message-ID: References: <20080321061703.921169367@sgi.com> <20080321061727.269764652@sgi.com> <8763vfixb8.fsf@basil.nowhere.org> <20080325075236.GG2170@one.firstfloor.org> <20080325175508.GV2170@one.firstfloor.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 14 On Tue, 25 Mar 2008, Andi Kleen wrote: > Not when the trick of getting high order, returning left over pages > is used. I meant just updating the GFP_COMPOUND code to always > use number of pages instead of order so that it could deal with a compound > where the excess pages are already returned. That is not actually that > much work (I reimplemented this recently for dma alloc and it's < 20 LOC) Would you post the patch here? -- 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/