aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
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 /tools/perf/util/c++/clang.cpp
parent4f5cafb5cb8471e54afdc9054d973535614f7675 (diff)
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 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions