Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 22 Jul 2002 09:31:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 22 Jul 2002 09:31:24 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:30980 "HELO garrincha.netbank.com.br") by vger.kernel.org with SMTP id ; Mon, 22 Jul 2002 09:31:23 -0400 Date: Mon, 22 Jul 2002 10:34:07 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Andrew Morton cc: "Martin J. Bligh" , William Lee Irwin III , Linus Torvalds , , , Ed Tomlinson Subject: Re: [PATCH][1/2] return values shrink_dcache_memory etc In-Reply-To: <3D3BAA5B.E3C100A6@zip.com.au> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1484 Lines: 43 On Sun, 21 Jul 2002, Andrew Morton wrote: > "Martin J. Bligh" wrote: > > These large NUMA machines should actually be rmap's glory day in the > > sun. > > "should be". Sigh. Be nice to see an "is" one day ;) You asked for a "minimal rmap" patch and you got it. ;) Bill and I actually have code for many of the things listed but we haven't submitted it yet exactly because everybody wanted the code merged in small, manageable chunks. > Do you think that large pages alone would be enough to allow us > to leave pte_chains (and page tables?) in ZONE_NORMAL, or would > shared pagetables also be needed? Large pages should reduce the page table overhead by a factor of 1024 (or 512 for PAE) and have the same alignment restrictions that shared page tables have. OTOH, shared page tables would allow us to map in chunks smaller than 4MB ... but at what seems like a pretty horrible locking and accounting complexity, unless somebody comes up with a smart trick. Apart from both of these we'll also need code to garbage collect empty page tables so users can't clog up memory by mmaping a page every 4 MB ;) regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ - 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/