From owner-freebsd-current Sat Jun 26 22:26:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 9FFFD14A2F for ; Sat, 26 Jun 1999 22:26:43 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 3D12D75; Sun, 27 Jun 1999 13:26:42 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans Cc: mjacob@feral.com, current@FreeBSD.ORG, gibbs@plutotech.com, tech-kern@NetBSD.ORG Subject: Re: Changing the semantics of splsoftclock() In-reply-to: Your message of "Sat, 26 Jun 1999 08:28:15 +1000." <199906252228.IAA03303@godzilla.zeta.org.au> Date: Sun, 27 Jun 1999 13:26:42 +0800 From: Peter Wemm Message-Id: <19990627052642.3D12D75@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > >>Why have splr semantics? That is, it raises to splsoftclock if current > >>priority is lower, else doesn't fiddle with it. > > splsoftclock() has always had spllower() semantics, and its main users > (kern_clock.c and kern_time.c) depend on this. > > FreeBSD has a precedent of not changing poor spl names because the change > would be confusing: splnet() should be named splsoftnet() and splimp() > should be named splnet() as in NetBSD. I would like to correct this, it is a source of problems when dealing with NetBSD code. It would be a relatively harmless change for us since it's failure mode is fairly benign. Old code calling splnet() that gets missed will still work, just it will block more than is strictly required. splimp() callers will get found quickly since they'll be an undefined reference. However, it would make backporting drivers from -current to 3.x a bit of a problem.. > Bruce Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message