From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="iso-8859-1" From: Daniel Phillips Subject: Re: [PATCH] Snapshot of shared page tables Date: Wed, 2 Oct 2002 19:00:19 +0200 References: <45850000.1033570655@baldur.austin.ibm.com> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-linux-mm@kvack.org Return-Path: To: Dave McCracken , Linux Memory Management , Linux Kernel List-ID: On Wednesday 02 October 2002 18:51, Daniel Phillips wrote: > On Wednesday 02 October 2002 16:57, Dave McCracken wrote: > > > > Ok, here it is. This patch works for my simple tests, both under UP and > > SMP, including under memory pressure. I'd appreciate anyone who'd like to > > take it and beat on it. Please let me know of any problems you find. > > > > The patch is against this morning's 2.5 BK tree. > > Interesting, you substituted pte_page_lock(ptepage) for mm->page_table_lock. > Could you wax poetic about that, please? Never mind, I see the logic. This reflects the fact that page_table_lock is insufficient protection when pte pages are shared. So you solved that problem and at the same time improved the scalability for the general case immensely, without adding any new overhead. Very nice! -- 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/