summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-12-12 14:08:29 +0000
committerkib <kib@FreeBSD.org>2015-12-12 14:08:29 +0000
commit0a99daba3bbf9e22d62b25b9d4b788f0424667d4 (patch)
tree346ad9c13479248a48f92bb83e114716337bdf65 /contrib/llvm/lib/Target/Sparc
parent0833a3345ca17a7cb8b9141d921d730e2fda984b (diff)
downloadFreeBSD-src-0a99daba3bbf9e22d62b25b9d4b788f0424667d4.zip
FreeBSD-src-0a99daba3bbf9e22d62b25b9d4b788f0424667d4.tar.gz
In md(4) over vnode, correct handling of the unaligned unmapped io
requests which page alignment + size is greater than MAXPHYS. Right now md(4) over vnode would use the physical buffer of the size MAXPHYS to map a data of size MAXPHYS + page offset of the user buffer. This typically corrupts next pbuf, or, if the pbuf used was the last pbuf in the map, the next page after the pbuf's map. Split request up to the size of io which fits into pbuf KVA with alignment, and retry if a part of the bio is left unprocessed. Reported by: Fabian Keil <fk@fabiankeil.de> Tested by: Fabian Keil, pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud