summaryrefslogtreecommitdiffstats
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-08-02 23:04:13 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-03 01:35:07 +0200
commitf003a1f182bb821f13775338a4bf8711830f927a (patch)
tree74d6093d44a21328cebb5420b970fb059d080547 /lib/crc32.c
parentget_maintainer.pl: reduce need for command-line option -f (diff)
downloadlinux-f003a1f182bb821f13775338a4bf8711830f927a.tar.xz
linux-f003a1f182bb821f13775338a4bf8711830f927a.zip
lib/iommu-helper: skip to next segment
When a large enough area in the iommu bitmap is found but would span a boundary we continue the search starting from the next bit position. For large allocations this can lead to several useless invocations of bitmap_find_next_zero_area() and iommu_is_span_boundary(). Continue the search from the start of the next segment (which is the next bit position such that we'll not cross the same segment boundary again). Link: http://lkml.kernel.org/r/alpine.LFD.2.20.1606081910070.3211@schleppi Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions