diff options
author | dillon <dillon@FreeBSD.org> | 2001-07-04 23:27:09 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-07-04 23:27:09 +0000 |
commit | 93369f554a43c46419d56436721efe61e4b858c7 (patch) | |
tree | 81260d55ae91eebf4632f0a755612f23148b8fb8 /sys/amd64 | |
parent | 62d663b9b937d23cdb2e47513623bf3834ebac8e (diff) | |
download | FreeBSD-src-93369f554a43c46419d56436721efe61e4b858c7.zip FreeBSD-src-93369f554a43c46419d56436721efe61e4b858c7.tar.gz |
Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).
Also removed some spl's and added some VM mutexes, but they are not actually
used yet, so this commit does not really make any operational changes
to the system.
vm_page.c relates to vm_page_t manipulation, including high level deactivation,
activation, etc... vm_pageq.c relates to finding free pages and aquiring
exclusive access to a page queue (exclusivity part not yet implemented).
And the world still builds... :-)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index ef84bf9..51072e7 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -588,7 +588,7 @@ vm_page_zero_idle() if (mtx_trylock(&Giant)) { zero_state = 0; - m = vm_page_list_find(PQ_FREE, free_rover, FALSE); + m = vm_pageq_find(PQ_FREE, free_rover, FALSE); if (m != NULL && (m->flags & PG_ZERO) == 0) { vm_page_queues[m->queue].lcnt--; TAILQ_REMOVE(&vm_page_queues[m->queue].pl, m, pageq); |