Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 22 Jul 2002 01:27:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 22 Jul 2002 01:27:52 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:34057 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Mon, 22 Jul 2002 01:27:51 -0400 Message-ID: <3D3B9A6F.12B096E1@zip.com.au> Date: Sun, 21 Jul 2002 22:38:55 -0700 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19-pre9 i686) X-Accept-Language: en MIME-Version: 1.0 To: William Lee Irwin III CC: Linus Torvalds , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ed Tomlinson Subject: Re: [PATCH][1/2] return values shrink_dcache_memory etc References: <3D3B925D.624986EE@zip.com.au> <20020722051608.GB919@holomorphy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2123 Lines: 45 William Lee Irwin III wrote: > > On Sun, Jul 21, 2002 at 10:04:29PM -0700, Andrew Morton wrote: > > I'd suggest that we avoid putting any additional changes into > > the VM until we have solutions available for: > > 2: Make it work with pte-highmem (Bill Irwin is signed up for this) > > 4: Move the pte_chains into highmem too (Bill, I guess) > > 6: maybe GC the pte_chain backing pages. (Seems unavoidable. Rik?) > > Especially pte_chains in highmem. Failure to fix this well > > is a showstopper for rmap on large ia32 machines, which makes > > it a showstopper full stop. > > I'll send you an update of my solution for (6), the initial version of > which was posted earlier today, in a separate post. Thanks, Bill. Yup, I'm playing with pte_chain_mempool at present. > highpte_chain will do (2) and (4) simultaneously when it's debugged. > > On Sun, Jul 21, 2002 at 10:04:29PM -0700, Andrew Morton wrote: > > If we can get something in place which works acceptably on Martin > > Bligh's machines, and we can see that the gains of rmap (whatever > > they are ;)) are worth the as-yet uncoded pains then let's move on. > > But until then, adding new stuff to the VM just makes a `patch -R' > > harder to do. > > I have the same kinds of machines and have already been testing with > precisely the many tasks workloads he's concerned about for the sake of > correctness, and efficiency is also a concern here. highpte_chain is > already so high up on my priority queue that all other work is halted. OK. But we're adding non-trivial amounts of new code simply to get the reverse mapping working as robustly as the virtual scan. And we'll always have rmap's additional storage requirements. At some point we need to make a decision as to whether it's all worth it. Right now we do not even have the information on the pluses side to do this. That's worrisome. - - 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/