From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 20:37:22 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A4716A47B; Sun, 1 Oct 2006 20:37:22 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F7C43D55; Sun, 1 Oct 2006 20:37:21 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id k91KbDwV077981; Sun, 1 Oct 2006 22:37:14 +0200 (CEST) (envelope-from mb@imp.ch) Date: Sun, 1 Oct 2006 22:37:13 +0200 (CEST) From: Martin Blapp To: Alan Cox In-Reply-To: <45201C2B.7080706@cs.rice.edu> Message-ID: <20061001223622.R91466@godot.imp.ch> References: <20060928195536.Y91466@godot.imp.ch> <20061001132422.O91466@godot.imp.ch> <45201C2B.7080706@cs.rice.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: alc@freebsd.org, current@freebsd.org Subject: Re: CURRENT unusable again, too many panics X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 20:37:22 -0000 > Can you tell me what if anything is printed with the attached patch applied? > Hi, > MFC > Correct a very old and very obscure bug: vmspace_fork() calls > pmap_copy() if the mapping is VM_INHERIT_SHARE. Suppose the mapping > is also wired. vmspace_fork() clears the wiring attributes in the vm > map entry but pmap_copy() copies the PG_W attribute in the PTE. I > don't think this is catastrophic. It blocks pmap_remove_pages() from > destroying the mapping and corrupts the pmap's wiring count. With or without this MFC applied ? Martin