Doug Moore 3f3f7c056f Address problems in blist_alloc introduced in r349777. The swap block allocator could become corrupted
if a retry to allocate swap space, after a larger allocation attempt failed, allocated a smaller set of free blocks
that ended on a 32- or 64-block boundary.

Add tests to detect this kind of failure-to-extend-at-boundary and prevent the associated accounting screwup.

Reported by: pho
Tested by: pho
Reviewed by: alc
Approved by: markj (mentor)
Discussed with: kib
Differential Revision: https://reviews.freebsd.org/D20893
2019-07-11 20:52:39 +00:00
..
2019-07-10 14:34:52 +00:00
2019-07-10 13:47:10 +00:00
2019-05-27 00:47:51 +00:00
2019-06-22 05:35:23 +00:00
2019-07-10 17:21:59 +00:00
2019-06-08 16:26:56 +00:00