Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 15:06:19 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352408 - in head: share/man/man9 sys/amd64/amd64
Message-ID:  <201909161506.x8GF6Jpa052657@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Sep 16 15:06:19 2019
New Revision: 352408
URL: https://svnweb.freebsd.org/changeset/base/352408

Log:
  Fix a couple of nits in r352110.
  
  - Remove a dead variable from the amd64 pmap_extract_and_hold().
  - Fix grammar in the vm_page_wire man page.
  
  Reported by:	alc
  Reviewed by:	alc, kib
  Sponsored by:	Netflix
  Differential Revision:	https://reviews.freebsd.org/D21639

Modified:
  head/share/man/man9/vm_page_wire.9
  head/sys/amd64/amd64/pmap.c

Modified: head/share/man/man9/vm_page_wire.9
==============================================================================
--- head/share/man/man9/vm_page_wire.9	Mon Sep 16 15:04:45 2019	(r352407)
+++ head/share/man/man9/vm_page_wire.9	Mon Sep 16 15:06:19 2019	(r352408)
@@ -51,7 +51,7 @@ The
 .Fn vm_page_wire
 and
 .Fn vm_page_wire_mapped
-function wire the page, prevent it from being reclaimed by the page
+functions wire the page, which prevents it from being reclaimed by the page
 daemon or when its containing object is destroyed.
 Both functions require that the page belong to an object.
 The

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Mon Sep 16 15:04:45 2019	(r352407)
+++ head/sys/amd64/amd64/pmap.c	Mon Sep 16 15:06:19 2019	(r352408)
@@ -3064,10 +3064,8 @@ pmap_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_
 {
 	pd_entry_t pde, *pdep;
 	pt_entry_t pte, PG_RW, PG_V;
-	vm_paddr_t pa;
 	vm_page_t m;
 
-	pa = 0;
 	m = NULL;
 	PG_RW = pmap_rw_bit(pmap);
 	PG_V = pmap_valid_bit(pmap);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909161506.x8GF6Jpa052657>