From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="iso-8859-1" From: Daniel Phillips Subject: Re: [RFC] Page table sharing Date: Sun, 17 Feb 2002 21:16:09 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-linux-mm@kvack.org Return-Path: To: Linus Torvalds , mingo@redhat.com, Arjan van de Ven Cc: Kernel Mailing List , linux-mm@kvack.org, Robert Love , Rik van Riel , Andrew Morton , manfred@colorfullife.com, wli@holomorphy.com, dmccr@us.ibm.com List-ID: Here's the patch as currently posted. I've been hacking on it to implement the locking described in the previous mail, but really I think it's better to go with the simple, incorrect and lockless version for group pondering. http://people.nl.linux.org/~phillips/patches/ptab-2.4.17 (almost the same as posted to lkml/linus yesterday) In the posted patch, tracing is configed off, see: #if 0 # define ptab(cmd) cmd #else # define ptab(cmd) nil #endif in mm.h. Anybody who actually wants to hack on this will probably want to turn it on. Sharing is also still restricted to id 9999, even though I find I'm able to boot and run pretty well with system-wide sharing. It's not fully correct though, because there are lockups happening in some benchmarks (unixbench and some crazy things invented by Andrew Morton) and UML fails to start properly. UML does work properly when sharing is restricted to just one ID, i.e., something deep in the system doesn't like sharing page tables at this point. -- Daniel -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/