Date: Sat, 4 Apr 1998 00:37:19 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: phk@critter.freebsd.dk (Poul-Henning Kamp) Cc: grog@lemis.com, gljohns@bellsouth.net, freebsd-current@FreeBSD.ORG Subject: Re: error when compiling kernel with SOFTUPDATES Message-ID: <199804040037.RAA14474@usr06.primenet.com> In-Reply-To: <1291.891594980@critter.freebsd.dk> from "Poul-Henning Kamp" at Apr 3, 98 11:16:20 am
next in thread | previous in thread | raw e-mail | index | archive | help
> >>>> change "tv = time" to "getmicrotime(&tv);" > >>> > >>> Wouldn't it have been possible to hide this change with a macro, like > >>> was done with the reorganization of the buffer headers under 2.2.6? > >> > >> no. > > > >Yes. Prove me wrong. And yes, I know that the form you chose makes > >it almost impossible, but that's no excuse. > > SMP is the reason, and I don't need an excuse for saying "no". Besides which, he's right, unless you count inline functions as macros, declare a global time value and access it opaquely (yeah, we could cale it "time"... NOT), or depend on the las result being in the first register, and the first register being used on returns (ie: all the world's a VAX, and all compilers don't play tricks with registers, and other [wrong] assumptions). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804040037.RAA14474>