Subject: CVS commit: src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/28/2005 16:40:41
Module Name: src
Committed By: bouyer
Date: Mon Mar 28 16:40:41 UTC 2005
Modified Files:
src/sys/arch/xen/i386: gdt.c
Log Message:
Merge 1.1.14.3 from yamt-km branch:
We can't write directly to a gdt slot, we need to go though
xen_update_descriptor().
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.3 -r1.4 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.