diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-21 06:26:55 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-21 06:26:55 +0000 |
| commit | 5eb13f768ccc0d5031c5f4f1b0cff36ef64fa05c (patch) | |
| tree | e89133817db6cde6ee9f22cce6dc71a4fb3821cc /sys | |
| parent | 7dd43330b32a7a710be99de6efdbd69d7ed2e6b3 (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 510222ce690f..635e394d8b83 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, |
