Subject: CVS commit: [netbsd-3] src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 04/28/2005 10:36:43
Module Name: src
Committed By: tron
Date: Thu Apr 28 10:36:43 UTC 2005
Modified Files:
src/sys/arch/xen/xen [netbsd-3]: evtchn.c
Log Message:
Pull up revision 1.11 (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.3.2.7 -r1.3.2.8 src/sys/arch/xen/xen/evtchn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.