Subject: CVS commit: [netbsd-3] src/sys/arch/xen/i386
To: None <>
From: Matthias Scheler <>
List: source-changes
Date: 03/30/2005 10:08:56
Module Name:	src
Committed By:	tron
Date:		Wed Mar 30 10:08:56 UTC 2005

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

Log Message:
Pull up revision 1.4 (requested by bouyer in ticket #73):
Merge from yamt-km branch:
We can't write directly to a gdt slot, we need to go though
From YAMAMOTO Takashi: this is not a problem in HEAD, because
as the kva for gdt is pageable, when gdt_put_slot1 attempts to modify gdt,
the fault handler allocates and maps a new page for you.
So the kernel doesn't panic, but could leak some memory.

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.2.2.1 src/sys/arch/xen/i386/gdt.c

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