Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 00:37:49 -0500
From:      Alan Cox <alc@cs.rice.edu>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        stable@freebsd.org
Subject:   Re: mSQL getting stuck in objtrm state (fwd)
Message-ID:  <19990824003749.C28920@cs.rice.edu>
In-Reply-To: <Pine.BSF.4.10.9908232146340.72739-100000@salmon.nlsystems.com>; from Doug Rabson on Mon, Aug 23, 1999 at 09:48:48PM %2B0100
References:  <Pine.BSF.4.10.9908232146340.72739-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <swap_pager_iodone+138>:
    jmp    0xc01d5af6 <swap_pager_iodone+234>
0xc01d5a98 <swap_pager_iodone+140>:     movw   0x3c(%edx),%ax
0xc01d5a9c <swap_pager_iodone+144>:     subw   0x1c(%ebx),%ax
0xc01d5aa0 <swap_pager_iodone+148>:     movw   %ax,0x3c(%edx)
0xc01d5aa4 <swap_pager_iodone+152>:
    jne    0xc01d5ab9 <swap_pager_iodone+173>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990824003749.C28920>