From owner-freebsd-net@FreeBSD.ORG Sat Jul 3 12:00:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0394716A4CF for ; Sat, 3 Jul 2004 12:00:22 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68EE743D3F for ; Sat, 3 Jul 2004 12:00:21 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 9347B6530A for ; Sat, 3 Jul 2004 13:00:15 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71678-01-3 for ; Sat, 3 Jul 2004 13:00:15 +0100 (BST) Received: from empiric.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 043B5651EE for ; Sat, 3 Jul 2004 13:00:14 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id C5D64615E; Sat, 3 Jul 2004 13:00:13 +0100 (BST) Date: Sat, 3 Jul 2004 13:00:13 +0100 From: Bruce M Simpson To: freebsd-net@FreeBSD.org Message-ID: <20040703120013.GP97102@empiric.dek.spc.org> Mail-Followup-To: freebsd-net@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="enLffk0M6cffIOOh" Content-Disposition: inline Subject: rl(4) style, locking patches X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 12:00:22 -0000 --enLffk0M6cffIOOh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have several patches here which appear to work OK on UP with debug.mpsafenet enabled (and should be applied in this order): http://people.freebsd.org/~bms/dump/rl-style.diff http://people.freebsd.org/~bms/dump/rl-locking.diff These clean up the style of rl(4), and eliminate the use of MTX_RECURSE as well as setting the INTR_MPSAFE flag. Many thanks to wpaul@ for doing the bus_dma(9) cleanup. Feedback and review would be much appreciated... Thanks, BMS --enLffk0M6cffIOOh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFA5p/NueUpAYYNtTsRAuEZAJ9PvR5O/x0gMfo6tn9Quv8yPmJkyACffJay Wg4uuIzNQ6AKRWgEworpu+w= =4AfI -----END PGP SIGNATURE----- --enLffk0M6cffIOOh--