Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268108AbUJDEJY (ORCPT ); Mon, 4 Oct 2004 00:09:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268383AbUJDEJY (ORCPT ); Mon, 4 Oct 2004 00:09:24 -0400 Received: from sv1.valinux.co.jp ([210.128.90.2]:17381 "EHLO sv1.valinux.co.jp") by vger.kernel.org with ESMTP id S268108AbUJDEJM (ORCPT ); Mon, 4 Oct 2004 00:09:12 -0400 Date: Mon, 04 Oct 2004 13:09:10 +0900 From: IWAMOTO Toshihiro To: Marcelo Tosatti Cc: Hirokazu Takahashi , haveblue@us.ibm.com, akpm@osdl.org, linux-mm@kvack.org, piggin@cyberone.com.au, arjanv@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [RFC] memory defragmentation to satisfy high order allocations In-Reply-To: <20041002183349.GA7986@logos.cnet> References: <20041001190430.GA4372@logos.cnet> <1096667823.3684.1299.camel@localhost> <20041001234200.GA4635@logos.cnet> <20041002.183015.41630389.taka@valinux.co.jp> <20041002183349.GA7986@logos.cnet> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20041004040910.DCE4470A2D@sv1.valinux.co.jp> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1534 Lines: 43 At Sat, 2 Oct 2004 15:33:49 -0300, Marcelo Tosatti wrote: > > On Sat, Oct 02, 2004 at 06:30:15PM +0900, Hirokazu Takahashi wrote: > 3) At migrate_page_common you assume additional page references > (page_migratable returning -EAGAIN) means the code should try to writeout > the page. > > Is that assumption always valid? > > In theory there is no need to writeout pages when migrating them to > other zones - they will be copied and the dirty information retained (either > in the PageDirty bit or radix tree tag). It's true only when page->private is NULL. Otherwise writeback is necessary to free buffer_head. > I just noticed you do that on further patches (migrate_page_buffer), but AFAICS > the writeout remains. Why arent you using migrate_page_buffer yet? > > I think the final aim should be to remove the need for "pageout()" > completly. Are you going to implement migrate_page_buffer for every file system? I don't think it's worthwhile. > Questions: are there any documents on the memory hotplug userspace tools? > Where can I find them? > > Are Iwamoto's test programs available? I've put them at the following URL, but I doubt they are useful for you; there are no documentation for them. http://people.valinux.co.jp/~iwamoto/mh/tests/ -- IWAMOTO Toshihiro - 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/