diff options
author | alc <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
commit | cbcb760109a202fb847f48aa942a8b84b1e85015 (patch) | |
tree | 4eda40daa4f02d9dd3c07a7a5c1c6363ac1f7f37 /sys/vm/phys_pager.c | |
parent | ab1a7ca9a2ebaf9bec6c13a545bd4c209c969ee7 (diff) | |
download | FreeBSD-src-cbcb760109a202fb847f48aa942a8b84b1e85015.zip FreeBSD-src-cbcb760109a202fb847f48aa942a8b84b1e85015.tar.gz |
Replace PG_BUSY with VPO_BUSY. In other words, changes to the page's
busy flag, i.e., VPO_BUSY, are now synchronized by the per-vm object
lock instead of the global page queues lock.
Diffstat (limited to 'sys/vm/phys_pager.c')
-rw-r--r-- | sys/vm/phys_pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/phys_pager.c b/sys/vm/phys_pager.c index 9575970..2151bce 100644 --- a/sys/vm/phys_pager.c +++ b/sys/vm/phys_pager.c @@ -158,7 +158,7 @@ phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage) m[i]->dirty = 0; /* The requested page must remain busy, the others not. */ if (reqpage != i) { - vm_page_flag_clear(m[i], PG_BUSY); + m[i]->oflags &= ~VPO_BUSY; m[i]->busy = 0; } } |