diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-05-20 14:33:28 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-05-20 14:33:28 +0000 |
commit | ccc4a5c761147c2bb76925936ec1681c6dbb922d (patch) | |
tree | 1d06c575899d7ecca494a390994c1ce387b42f33 /sys/vm/vm_page.c | |
parent | 149daddbd144ca25942970cb343273765185b381 (diff) | |
download | src-ccc4a5c761147c2bb76925936ec1681c6dbb922d.tar.gz src-ccc4a5c761147c2bb76925936ec1681c6dbb922d.zip |
Replace the list of PVOs owned by each PMAP with an RB tree. This simplifies
range operations like pmap_remove() and pmap_protect() as well as allowing
simple operations like pmap_extract() not to involve any global state.
This substantially reduces lock coverages for the global table lock and
improves concurrency.
Notes
Notes:
svn path=/head/; revision=235689
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 281c101a551b..d4adf756ce73 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -131,7 +131,7 @@ TUNABLE_INT("vm.boot_pages", &boot_pages); SYSCTL_INT(_vm, OID_AUTO, boot_pages, CTLFLAG_RD, &boot_pages, 0, "number of pages allocated for bootstrapping the VM system"); -int pa_tryrelock_restart; +static int pa_tryrelock_restart; SYSCTL_INT(_vm, OID_AUTO, tryrelock_restart, CTLFLAG_RD, &pa_tryrelock_restart, 0, "Number of tryrelock restarts"); |