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
This commit is contained in:
parent
e8bcf6966b
commit
38a20ba16f
@ -51,7 +51,7 @@ The
|
|||||||
.Fn vm_page_wire
|
.Fn vm_page_wire
|
||||||
and
|
and
|
||||||
.Fn vm_page_wire_mapped
|
.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.
|
daemon or when its containing object is destroyed.
|
||||||
Both functions require that the page belong to an object.
|
Both functions require that the page belong to an object.
|
||||||
The
|
The
|
||||||
|
@ -3064,10 +3064,8 @@ pmap_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot)
|
|||||||
{
|
{
|
||||||
pd_entry_t pde, *pdep;
|
pd_entry_t pde, *pdep;
|
||||||
pt_entry_t pte, PG_RW, PG_V;
|
pt_entry_t pte, PG_RW, PG_V;
|
||||||
vm_paddr_t pa;
|
|
||||||
vm_page_t m;
|
vm_page_t m;
|
||||||
|
|
||||||
pa = 0;
|
|
||||||
m = NULL;
|
m = NULL;
|
||||||
PG_RW = pmap_rw_bit(pmap);
|
PG_RW = pmap_rw_bit(pmap);
|
||||||
PG_V = pmap_valid_bit(pmap);
|
PG_V = pmap_valid_bit(pmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user