Subject: CVS commit: [netbsd-3] src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 04/28/2005 10:37:02
Module Name: src
Committed By: tron
Date: Thu Apr 28 10:37:02 UTC 2005
Modified Files:
src/sys/arch/xen/i386 [netbsd-3]: hypervisor_machdep.c
Log Message:
Pull up revision 1.9 (requested by bouyer in ticket #193):
Avoid a race between do_hypervisor_event() and stipending() that could
cause an event to be both handled and marked as pending, or being
marked as pending twice (triggering the diagnostic check
evtch_maskcount[port] == 0 in hypervisor_set_ipending):
mask and clear event by word of 32bit in do_hypervisor_event() or stipending(),
instead of by indiviual bits in do_event() or xenevt_event().
In addition this is marginally more efficient.
To generate a diff of this commit:
cvs rdiff -r1.4.2.4 -r1.4.2.5 src/sys/arch/xen/i386/hypervisor_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.