Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932166AbWIAQK3 (ORCPT ); Fri, 1 Sep 2006 12:10:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932235AbWIAQK2 (ORCPT ); Fri, 1 Sep 2006 12:10:28 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:40170 "EHLO e3.ny.us.ibm.com") by vger.kernel.org with ESMTP id S932166AbWIAQK0 (ORCPT ); Fri, 1 Sep 2006 12:10:26 -0400 Subject: Re: [patch 1/9] Guest page hinting: unused / free pages. From: Dave Hansen To: schwidefsky@de.ibm.com Cc: linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, akpm@osdl.org, nickpiggin@yahoo.com.au, frankeh@watson.ibm.com, rhim@cc.gateh.edu In-Reply-To: <1157126716.21733.45.camel@localhost> References: <20060901110908.GB15684@skybase> <1157124821.28577.88.camel@localhost.localdomain> <1157125420.21733.28.camel@localhost> <1157126162.28577.104.camel@localhost.localdomain> <1157126716.21733.45.camel@localhost> Content-Type: text/plain Date: Fri, 01 Sep 2006 09:10:09 -0700 Message-Id: <1157127009.28577.109.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 24 On Fri, 2006-09-01 at 18:05 +0200, Martin Schwidefsky wrote: > On Fri, 2006-09-01 at 08:56 -0700, Dave Hansen wrote: > > > This question did come up already. arch_free_page() is done before the > > > PageReserved() check so it isn't suitable for stable/unused state > > > transitions. You can argue that arch_free_page() should be moved but who > > > knows what the architecture defined function is supposed to do? > > > page_set_stable/page_set_unused on the other hand have a clearly defined > > > meaning. > > > > With a patch set this large, I think it would at least be a nice thing > > to go through and review the other architectures' uses. > > There is only one user right now: UML. Then it should be awfully easy to go figure out what they are doing and coordinate by using the same functions, right? ;) -- Dave - 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/