Subject: CVS commit: [netbsd-3] src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 03/30/2005 10:08:56
Module Name: src
Committed By: tron
Date: Wed Mar 30 10:08:56 UTC 2005
src/sys/arch/xen/i386 [netbsd-3]: gdt.c
Pull up revision 1.4 (requested by bouyer in ticket #73):
Merge 188.8.131.52 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 -r184.108.40.206 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.