Module Name: src Committed By: ad Date: Sun Mar 15 19:41:05 UTC 2020
Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.369 -r1.370 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.369 src/sys/arch/x86/x86/pmap.c:1.370 --- src/sys/arch/x86/x86/pmap.c:1.369 Sun Mar 15 15:58:24 2020 +++ src/sys/arch/x86/x86/pmap.c Sun Mar 15 19:41:04 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.369 2020/03/15 15:58:24 ad Exp $ */ +/* $NetBSD: pmap.c,v 1.370 2020/03/15 19:41:04 ad Exp $ */ /* * Copyright (c) 2008, 2010, 2016, 2017, 2019, 2020 The NetBSD Foundation, Inc. @@ -130,7 +130,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.369 2020/03/15 15:58:24 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.370 2020/03/15 19:41:04 ad Exp $"); #include "opt_user_ldt.h" #include "opt_lockdebug.h" @@ -2032,7 +2032,7 @@ pmap_lookup_pv(const struct pmap *pmap, * * If the page is tracked with an embedded entry then the tree * lookup can be avoided. It's safe to check for this specific - * set of values without pp_lock because all 3 will only ever be + * set of values without pp_lock because both will only ever be * set together for this pmap. * */ @@ -2088,7 +2088,7 @@ pmap_enter_pv(struct pmap *pmap, struct * If entering the same page and it's already tracked with an * embedded entry, we can avoid the expense below. It's safe * to check for this very specific set of values without a lock - * because all 3 will only ever be set together for this pmap. + * because both will only ever be set together for this pmap. */ if (atomic_load_relaxed(&pp->pp_pte.pte_ptp) == ptp && atomic_load_relaxed(&pp->pp_pte.pte_va) == va) {