diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-08-23 15:48:27 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-08-23 15:48:27 +0000 |
commit | dd9faf6dc4d15b54063480f6f03d7063be82097b (patch) | |
tree | 8a4c39e084ad42d9b9fa54fdb76225be3de322ee /usr.bin | |
parent | 38359266c53bd84073399f8b18f9893063ffea12 (diff) | |
download | src-dd9faf6dc4d15b54063480f6f03d7063be82097b.tar.gz src-dd9faf6dc4d15b54063480f6f03d7063be82097b.zip |
Include the offset the virtual address is within an L1 or L2 block when
finding the vm_page_t in pmap_extract_and_hold. Previously it would return
the vm_page_t of the first page in a block. This would cause issues when,
for example, fsck reads from a device into the middle of a superpage. In
this case the read call would write to the start of the block, and not to
the buffer passed in.
Obtained from: ABT Systems Ltd
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=304685
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions