Date: Wed, 5 May 2004 22:03:24 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/nwfs nwfs_io.c src/sys/fs/smbfs smbfs_io.c src/sys/fs/specfs spec_vnops.c src/sys/kern uipc_syscalls.c vfs_bio.c src/sys/nfsclient nfs_bio.c src/sys/vm swap_pager.c vm_fault.c vnode_pager.c Message-ID: <200405060503.i4653OfT061105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004/05/05 22:03:24 PDT FreeBSD src repository Modified files: sys/fs/nwfs nwfs_io.c sys/fs/smbfs smbfs_io.c sys/fs/specfs spec_vnops.c sys/kern uipc_syscalls.c vfs_bio.c sys/nfsclient nfs_bio.c sys/vm swap_pager.c vm_fault.c vnode_pager.c Log: Make vm_page's PG_ZERO flag immutable between the time of the page's allocation and deallocation. This flag's principal use is shortly after allocation. For such cases, clearing the flag is pointless. The only unusual use of PG_ZERO is in vfs_bio_clrbuf(). However, allocbuf() never requests a prezeroed page. So, vfs_bio_clrbuf() never sees a prezeroed page. Reviewed by: tegge@ Revision Changes Path 1.34 +0 -2 src/sys/fs/nwfs/nwfs_io.c 1.27 +0 -2 src/sys/fs/smbfs/smbfs_io.c 1.222 +0 -2 src/sys/fs/specfs/spec_vnops.c 1.182 +0 -1 src/sys/kern/uipc_syscalls.c 1.433 +1 -14 src/sys/kern/vfs_bio.c 1.131 +0 -2 src/sys/nfsclient/nfs_bio.c 1.250 +0 -4 src/sys/vm/swap_pager.c 1.187 +0 -1 src/sys/vm/vm_fault.c 1.196 +0 -3 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405060503.i4653OfT061105>