Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 12/02/2007 18:29:54
Module Name:	src
Committed By:	bouyer
Date:		Sun Dec  2 18:29:54 UTC 2007

Modified Files:
	src/sys/arch/xen/xen: privcmd.c

Log Message:
IOCTL_PRIVCMD_MMAP*: instead of brutally enterring the new entries in
the process page table, properly uvm_unmap1() the VA range and enter a new
uvm_map backed by an object. There is a know race between uvm_unmap1() and
uvm_map(), where another thread could get our VA range; in practice
I think none of the softwares using this interface are multithreaded (or at
last they are single-threaded when using it).


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/arch/xen/xen/privcmd.c

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