aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/display/komeda/komeda_dev.h
diff options
context:
space:
mode:
authorBen Luo <luoben@linux.alibaba.com>2019-10-03 11:49:42 +0800
committerAlex Williamson <alex.williamson@redhat.com>2019-10-18 08:48:53 -0600
commit026948f01eac4dda130aa623b7414375633fe7c1 (patch)
treedb2202da423a50b74e0630e2bb45dc913a8e6e41 /drivers/gpu/drm/arm/display/komeda/komeda_dev.h
parentLinux 5.4-rc3 (diff)
downloadlinux-dev-026948f01eac4dda130aa623b7414375633fe7c1.tar.xz
linux-dev-026948f01eac4dda130aa623b7414375633fe7c1.zip
vfio/type1: remove hugepage checks in is_invalid_reserved_pfn()
Currently, no hugepage split code can transfer the reserved bit from head to tail during the split, so checking the head can't make a difference in a racing condition with hugepage spliting. The buddy wouldn't allow a driver to allocate an hugepage if any subpage is reserved in the e820 map at boot, if any driver sets the reserved bit of head page before mapping the hugepage in userland, it needs to set the reserved bit in all subpages to be safe. Signed-off-by: Ben Luo <luoben@linux.alibaba.com> Reviewed-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_dev.h')
0 files changed, 0 insertions, 0 deletions