From owner-freebsd-hackers Wed Jun 18 07:48:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA20223 for hackers-outgoing; Wed, 18 Jun 1997 07:48:09 -0700 (PDT) Received: from hq.icb.chel.su (hq.icb.chel.su [193.125.10.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA19892 for ; Wed, 18 Jun 1997 07:42:51 -0700 (PDT) Received: (babkin@localhost) by hq.icb.chel.su (8.8.3/8.6.5) id UAA01513; Wed, 18 Jun 1997 20:36:03 +0600 (ESD) From: "Serge A. Babkin" Message-Id: <199706181436.UAA01513@hq.icb.chel.su> Subject: Re: C optimizer bug ? To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Wed, 18 Jun 1997 20:36:03 +0600 (ESD) Cc: hackers@FreeBSD.ORG In-Reply-To: <10918.866346949@time.cdrom.com> from "Jordan K. Hubbard" at Jun 14, 97 08:55:49 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > >I was too lazy to do this but if it's going to give any effect > >I can do it. > > Well, as I said, what you've done so far will generate *no* effect, so > look at this as the only option if causing an effect is what you have > in mind. :) Okay, I have found the trouble and it was mine. The scsi_scsi_cmd() function used splbio() while awaiting the result from adapter while I used Ethernet. After adding splimp() and splnet() the races gone away. -SB