Module Name: src Committed By: jym Date: Sun May 15 20:58:54 UTC 2011
Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: As noted by rmind@, use the _nv() to fetch the new value. A race is possible between the decrement and the fetch of the ref counter value, hence we might call the G/C routine twice. Not good. Also remove the 'volatile' attribute, refcnt is only use by xbdi_put/_get and should not be exposed anywhere else (except for initialization). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/xen/xen/xbdback_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.