diff options
author | dillon <dillon@FreeBSD.org> | 2001-10-21 06:26:55 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-10-21 06:26:55 +0000 |
commit | c6710f54b00521bc8ff02511a7c8e78d577d5286 (patch) | |
tree | e89133817db6cde6ee9f22cce6dc71a4fb3821cc /sys/kern/vfs_bio.c | |
parent | 3535bdaf2a586dc14089d20ac17a65fd7e62d3f2 (diff) | |
download | FreeBSD-src-c6710f54b00521bc8ff02511a7c8e78d577d5286.zip FreeBSD-src-c6710f54b00521bc8ff02511a7c8e78d577d5286.tar.gz |
Documentation
MFC after: 1 day
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 510222c..635e394 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1133,12 +1133,9 @@ brelse(struct buf * bp) /* * Get the base offset and length of the buffer. Note that - * for block sizes that are less then PAGE_SIZE, the b_data - * base of the buffer does not represent exactly b_offset and - * neither b_offset nor b_size are necessarily page aligned. - * Instead, the starting position of b_offset is: - * - * b_data + (b_offset & PAGE_MASK) + * in the VMIO case if the buffer block size is not + * page-aligned then b_data pointer may not be page-aligned. + * But our b_pages[] array *IS* page aligned. * * block sizes less then DEV_BSIZE (usually 512) are not * supported due to the page granularity bits (m->valid, |