Date: Tue, 2 Jun 2009 08:02:27 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_shm.c src/sys/vm vnode_pager.c Message-ID: <200906021756.n52HufNC081991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-06-02 08:02:27 UTC FreeBSD src repository Modified files: sys/kern uipc_shm.c sys/vm vnode_pager.c Log: SVN rev 193303 on 2009-06-02 08:02:27Z by alc Correct a boundary case error in the management of a page's dirty bits by shm_dotruncate() and vnode_pager_setsize(). Specifically, if the length of a shared memory object or a file is truncated such that the length modulo the page size is between 1 and 511, then all of the page's dirty bits were cleared. Now, a dirty bit is cleared only if the corresponding block is truncated in its entirety. Revision Changes Path 1.8 +17 -4 src/sys/kern/uipc_shm.c 1.256 +16 -10 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906021756.n52HufNC081991>