diff options
author | alc <alc@FreeBSD.org> | 2003-07-06 20:32:42 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-07-06 20:32:42 +0000 |
commit | f0918a1378acd741391e94f52323e0c228fde4fa (patch) | |
tree | 749210d03a1627c59af716e8d0eca07931b7d712 /sys/sparc64 | |
parent | db42b170555bcb38493d96da03e8877b59eec611 (diff) | |
download | FreeBSD-src-f0918a1378acd741391e94f52323e0c228fde4fa.zip FreeBSD-src-f0918a1378acd741391e94f52323e0c228fde4fa.tar.gz |
MFi386
Updates to cnt.v_wire_count, the global count of wired pages, should be
performed using atomic ops.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index 337982c..bbdf53e 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -1035,7 +1035,7 @@ pmap_release(pmap_t pm) ("pmap_release: freeing held tsb page")); m->md.pmap = NULL; m->wire_count--; - cnt.v_wire_count--; + atomic_subtract_int(&cnt.v_wire_count, 1); vm_page_free_zero(m); vm_page_unlock_queues(); } |