From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 2 Oct 2002 18:36:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 2 Oct 2002 18:36:27 -0400 Received: from dp.samba.org ([66.70.73.150]:56286 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Wed, 2 Oct 2002 18:36:26 -0400 From: Paul Mackerras MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15771.30104.815144.546550@argo.ozlabs.ibm.com> Date: Thu, 3 Oct 2002 08:39:20 +1000 (EST) To: Dave McCracken Cc: Linux Memory Management , Linux Kernel Subject: Re: [PATCH] Snapshot of shared page tables In-Reply-To: <45850000.1033570655@baldur.austin.ibm.com> References: <45850000.1033570655@baldur.austin.ibm.com> X-Mailer: VM 6.75 under Emacs 20.7.2 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dave McCracken writes: > 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. Interesting. I notice that you are using the _PAGE_RW bit in the PMDs. Are you relying on the hardware to do anything with that bit, or is it only used by software? (If you are relying on the hardware to do something different when _PAGE_RW is clear in the PMD, then your approach isn't portable.) Paul.