[vfio-users] PSA: Disable transparent huge pages on v4.5+

Alex Williamson alex.l.williamson at gmail.com
Fri Apr 29 00:39:03 UTC 2016


Public service announcement: Changes that went in for the v4.5 kernel seems
to be disrupting page pinning for vfio.  This potentially means that VM
pages could change out from under the IOMMU mapping resulting in incorrect
DMA operations.  Since v4.5 kernels are now starting to trickle into stable
distribution releases, I would encourage transparent huge pages be disabled
in those kernels for the time being.  This can easily be done by adding the
kernel boot parameter 'transparent_hugepage=never'.  Use of hugetlbfs for
VM memory would likely also avoid this issue.  I expect we'll have a fix
soon, which will be backported to v4.5 via stable.  Thanks,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160428/7f1f7a21/attachment.htm>


More information about the vfio-users mailing list