cvs commit: src/sys/fs/nwfs nwfs_io.c src/sys/fs/smbfs smbfs_io.c
src/sys/kern uipc_syscalls.c vfs_bio.c src/sys/nfsclient nfs_bio.c
src/sys/vm swap_pager.c vm_object.c vm_page.c vm_page.h
vnode_pager.c
Alan Cox
alc at FreeBSD.org
Wed Aug 9 17:43:36 UTC 2006
alc 2006-08-09 17:43:27 UTC
FreeBSD src repository
Modified files:
sys/fs/nwfs nwfs_io.c
sys/fs/smbfs smbfs_io.c
sys/kern uipc_syscalls.c vfs_bio.c
sys/nfsclient nfs_bio.c
sys/vm swap_pager.c vm_object.c vm_page.c
vm_page.h vnode_pager.c
Log:
Introduce a field to struct vm_page for storing flags that are
synchronized by the lock on the object containing the page.
Transition PG_WANTED and PG_SWAPINPROG to use the new field,
eliminating the need for holding the page queues lock when setting
or clearing these flags. Rename PG_WANTED and PG_SWAPINPROG to
VPO_WANTED and VPO_SWAPINPROG, respectively.
Eliminate the assertion that the page queues lock is held in
vm_page_io_finish().
Eliminate the acquisition and release of the page queues lock
around calls to vm_page_io_finish() in kern_sendfile() and
vfs_unbusy_pages().
Revision Changes Path
1.45 +1 -1 src/sys/fs/nwfs/nwfs_io.c
1.37 +1 -1 src/sys/fs/smbfs/smbfs_io.c
1.237 +0 -2 src/sys/kern/uipc_syscalls.c
1.509 +0 -2 src/sys/kern/vfs_bio.c
1.159 +1 -1 src/sys/nfsclient/nfs_bio.c
1.282 +9 -12 src/sys/vm/swap_pager.c
1.365 +6 -4 src/sys/vm/vm_object.c
1.322 +6 -5 src/sys/vm/vm_page.c
1.140 +10 -2 src/sys/vm/vm_page.h
1.228 +1 -1 src/sys/vm/vnode_pager.c
More information about the cvs-src
mailing list