Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 Update comment: we stopped using xcall to s...
details: https://anonhg.NetBSD.org/src/rev/0265ce1b46f2
branches: trunk
changeset: 779876:0265ce1b46f2
user: jym <jym%NetBSD.org@localhost>
date: Sun Jun 24 13:56:10 2012 +0000
description:
Update comment: we stopped using xcall to sync PTP between CPUs.
pmap_kpm_sync_xcall => xen_kpm_sync
diffstat:
sys/arch/xen/x86/cpu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e16b7691d171 -r 0265ce1b46f2 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c Sun Jun 24 13:08:38 2012 +0000
+++ b/sys/arch/xen/x86/cpu.c Sun Jun 24 13:56:10 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.92 2012/06/06 22:22:41 rmind Exp $ */
+/* $NetBSD: cpu.c,v 1.93 2012/06/24 13:56:10 jym Exp $ */
/* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp */
/*-
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.92 2012/06/06 22:22:41 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.93 2012/06/24 13:56:10 jym Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1113,7 +1113,7 @@
cpuid_t cid = cpu_index(ci);
mutex_enter(&ci->ci_kpm_mtx);
- /* make new pmap visible to pmap_kpm_sync_xcall() */
+ /* make new pmap visible to xen_kpm_sync() */
kcpuset_atomic_set(pmap->pm_xen_ptp_cpus, cid);
#endif
#ifdef i386
@@ -1166,7 +1166,7 @@
#endif /* __x86_64__ */
#if defined(__x86_64__) || defined(PAE)
- /* old pmap no longer visible to pmap_kpm_sync_xcall() */
+ /* old pmap no longer visible to xen_kpm_sync() */
if (oldpmap != pmap_kernel()) {
kcpuset_atomic_clear(oldpmap->pm_xen_ptp_cpus, cid);
}
Home |
Main Index |
Thread Index |
Old Index