Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/sys/arch/xen/xen



Module Name:    src
Committed By:   tron
Date:           Thu Apr 28 10:36:54 UTC 2005

Modified Files:
        src/sys/arch/xen/xen [netbsd-3]: xenevt.c

Log Message:
Pull up revision 1.5 (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.2.2.2 -r1.2.2.3 src/sys/arch/xen/xen/xenevt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index