Subject: CVS commit: src/sys/arch/xen/i386
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 03/28/2005 16:40:41
Module Name: src
Committed By: bouyer
Date: Mon Mar 28 16:40:41 UTC 2005
Merge 184.108.40.206 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.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.