aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/efi
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2017-11-01 18:06:44 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-11-01 18:06:44 +0000
commitad4e4ae591ec267918ac74bbd158626d4961b0f8 (patch)
treeb2555614c30b28cf6ba0cdd79f59f85edf40599f /sys/boot/efi
parentba5fc4cf786cc4c33b574a8ee54e277dbf6cbd47 (diff)
Restore an optimization that was temporary disabled by r324665.
In reclaim_pv_chunk(), rotate the pv chunks list so that next invocations of the reclaim do not scan the same pv chunks that could not be freed. Only do the rotation when there is no parallel scan, tracked by active_reclaims counter. To rotate, move all chunks that are before current iteration marker, after another marker that is inserted at the list tail on start of the reclaim. Reviewed by: alc Tested by: pho (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week
Notes
Notes: svn path=/head/; revision=325285
Diffstat (limited to 'sys/boot/efi')
0 files changed, 0 insertions, 0 deletions