Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 05/26/2005 13:54:43
Module Name:	src
Committed By:	bouyer
Date:		Thu May 26 13:54:43 UTC 2005

Modified Files:
	src/sys/arch/xen/i386: pmap.c xen_machdep.c
	src/sys/arch/xen/include: xenfunc.h xenpmap.h
	src/sys/arch/xen/xen: if_xennet.c

Log Message:
Always call the xpq_queue*() functions at splvm(), so that it's safe to call
them from interrupt context.
xpq_flush_queue() is called from IPL_NET in if_xennet.c, and
other xpq_queue* functions may be called from interrupt context via
pmap_kenter*(). Should fix port-xen/30153.
Thanks to Jason Thorpe and YAMAMOTO Takashi for enlightments on this issue.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/i386/pmap.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/xen/i386/xen_machdep.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/xen/include/xenfunc.h \
    src/sys/arch/xen/include/xenpmap.h
cvs rdiff -r1.24 -r1.25 src/sys/arch/xen/xen/if_xennet.c

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