diff options
author | Alan Cox <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
commit | 9af80719db341cf3e23d76c62553d77b6ad03568 (patch) | |
tree | 4eda40daa4f02d9dd3c07a7a5c1c6363ac1f7f37 /sys/kern/kern_exec.c | |
parent | 43200cd3ed7016ca7da8d9072f0f3d4481080e59 (diff) | |
download | src-9af80719db341cf3e23d76c62553d77b6ad03568.tar.gz src-9af80719db341cf3e23d76c62553d77b6ad03568.zip |
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.
Notes
Notes:
svn path=/head/; revision=163604
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 9bd3104c239d..97825cb78593 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -827,7 +827,7 @@ exec_map_first_page(imgp) if ((ma[i] = vm_page_lookup(object, i)) != NULL) { if (ma[i]->valid) break; - if ((ma[i]->flags & PG_BUSY) || ma[i]->busy) + if ((ma[i]->oflags & VPO_BUSY) || ma[i]->busy) break; vm_page_lock_queues(); vm_page_busy(ma[i]); |