diff options
author | alc <alc@FreeBSD.org> | 2003-10-18 21:09:21 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-10-18 21:09:21 +0000 |
commit | bccf1d15ab7d014c463b46b05e0b09fb513d7068 (patch) | |
tree | 6b34fce36d3e8914acee117ce4e8c611179e0683 /sys/vm/vm_pageout.h | |
parent | 39bde695bfe32db71446c96d796c9d24d4abbf2c (diff) | |
download | FreeBSD-src-bccf1d15ab7d014c463b46b05e0b09fb513d7068.zip FreeBSD-src-bccf1d15ab7d014c463b46b05e0b09fb513d7068.tar.gz |
- Increase the object lock's scope in vm_contig_launder() so that access
to the object's type field and the call to vm_pageout_flush() are
synchronized.
- The above change allows for the eliminaton of the last parameter
to vm_pageout_flush().
- Synchronize access to the page's valid field in vm_pageout_flush()
using the containing object's lock.
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 f0bb1bd..693eaff 100644 --- a/sys/vm/vm_pageout.h +++ b/sys/vm/vm_pageout.h @@ -108,6 +108,6 @@ void vm_proc_swapin_all(struct swdevt *); #endif /* !NO_SWAPPING */ #ifdef _KERNEL -int vm_pageout_flush(vm_page_t *, int, int, int is_object_locked); +int vm_pageout_flush(vm_page_t *, int, int); #endif #endif /* _VM_VM_PAGEOUT_H_ */ |