diff options
author | alc <alc@FreeBSD.org> | 2003-04-24 04:31:25 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-04-24 04:31:25 +0000 |
commit | 87da2c3cf37429dd7554a13d8b70a046ccc3edcf (patch) | |
tree | 524c091529a13b4f30095fe4af93a54b4cd973f6 /sys/vm/vm_pageout.h | |
parent | 51f01cb3f731c451c22c07d8bb6a6e9ecffb72d1 (diff) | |
download | FreeBSD-src-87da2c3cf37429dd7554a13d8b70a046ccc3edcf.zip FreeBSD-src-87da2c3cf37429dd7554a13d8b70a046ccc3edcf.tar.gz |
- Acquire the vm_object's lock when performing vm_object_page_clean().
- Add a parameter to vm_pageout_flush() that tells vm_pageout_flush()
whether its caller has locked the vm_object. (This is a temporary
measure to bootstrap vm_object locking.)
Diffstat (limited to 'sys/vm/vm_pageout.h')
-rw-r--r-- | sys/vm/vm_pageout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h index 8ebebe2..04386df 100644 --- a/sys/vm/vm_pageout.h +++ b/sys/vm/vm_pageout.h @@ -113,6 +113,6 @@ int swap_pager_isswapped(vm_object_t, int); #ifdef _KERNEL void vm_pageout_page(vm_page_t, vm_object_t); void vm_pageout_cluster(vm_page_t, vm_object_t); -int vm_pageout_flush(vm_page_t *, int, int); +int vm_pageout_flush(vm_page_t *, int, int, int is_object_locked); #endif #endif /* _VM_VM_PAGEOUT_H_ */ |