]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the VM_MEMATTR_WRITE_THROUGH memory type to arm64 and use it to support
authorAndrew Turner <andrew@FreeBSD.org>
Sat, 13 May 2017 13:01:15 +0000 (13:01 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Sat, 13 May 2017 13:01:15 +0000 (13:01 +0000)
commitc031b4b01e16c47ef801e99d3b7b9e8e03f4dc31
treefd13e3f729147d3e6474088db7b02cd6161be757
parentf1ec210574fe3eb97984d284e823f2976f5aeb2b
Add the VM_MEMATTR_WRITE_THROUGH memory type to arm64 and use it to support
VM_MEMATTR_WRITE_COMBINING in the kernel. This fixes a bug where Xorg would
use write back cached memory for its graphics buffers. This would produce
artifacts on the screen as cachelines were written to memory.

MFC after: 1 week
Sponsored by: DARPA, AFRL
sys/arm64/include/vm.h