Date: Fri, 1 May 1998 08:11:00 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_bio.c Message-ID: <199805011511.IAA14728@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/05/01 08:11:00 PDT Modified files: sys/kern vfs_bio.c Log: vm_page_is_valid() wasn't expecting a large offset argument, it's expecting a sub-page offset. We were passing the file position, and vm_page_bits() could do some interesting things when base was larger PAGE_SIZE. if (size > PAGE_SIZE - base) size = PAGE_SIZE - base; is interesting when (PAGE_SIZE - base) is negative. I could imagine that this could have interesting consequences for memory page -> device block bit validation. Revision Changes Path 1.164 +3 -2 src/sys/kern/vfs_bio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805011511.IAA14728>