From owner-freebsd-stable Mon Aug 23 22:37:57 1999 Delivered-To: freebsd-stable@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 88A3C14D78 for ; Mon, 23 Aug 1999 22:37:52 -0700 (PDT) (envelope-from alc@cs.rice.edu) Received: (from alc@localhost) by cs.rice.edu (8.9.0/8.9.0) id AAA20304; Tue, 24 Aug 1999 00:37:50 -0500 (CDT) Date: Tue, 24 Aug 1999 00:37:49 -0500 From: Alan Cox To: Doug Rabson Cc: stable@freebsd.org Subject: Re: mSQL getting stuck in objtrm state (fwd) Message-ID: <19990824003749.C28920@cs.rice.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5us In-Reply-To: ; from Doug Rabson on Mon, Aug 23, 1999 at 09:48:48PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I found the following "smoking gun" in the code generated for the vm_object_pip_subtract (atomic_subtract_short) in swap_pager_iodone: } else { vm_object_pip_subtract(object, spc->spc_count); if ((object->paging_in_progress == 0) && translates to ... 0xc01d5a96 : jmp 0xc01d5af6 0xc01d5a98 : movw 0x3c(%edx),%ax 0xc01d5a9c : subw 0x1c(%ebx),%ax 0xc01d5aa0 : movw %ax,0x3c(%edx) 0xc01d5aa4 : jne 0xc01d5ab9 I'm looking into backporting -CURRENT's atomic.h now. Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message