From owner-cvs-all Mon Jan 22 16:18:31 2001 Delivered-To: cvs-all@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 90EC537B400; Mon, 22 Jan 2001 16:18:06 -0800 (PST) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id BAA80579; Tue, 23 Jan 2001 01:20:47 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200101230020.BAA80579@info.iet.unipi.it> Subject: Re: cvs commit: src/sys/netinet ip_dummynet.c In-Reply-To: from Dag-Erling Smorgrav at "Jan 23, 2001 01:13:53 am" To: Dag-Erling Smorgrav Date: Tue, 23 Jan 2001 01:20:47 +0100 (CET) Cc: Luigi Rizzo , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This has the net effect of replacing one no-op with another: > > root@des ~# egrep 'spl(imp|net)' /sys/sys/systm.h > static __inline intrmask_t splimp(void) { return 0; } > static __inline intrmask_t splnet(void) { return 0; } already noticed by grog -- but hopefully it will also remind people who will have to replace these no-ops with proper locks which lock to aim for... that was the only purpose of this commit. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone (510) 666 2927 . ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message