diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2026-11-30 11:14:15 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2026-11-30 11:14:15 +0000 |
| commit | 3d35051f2901802ff8c3385b262ac541ba670a9c (patch) | |
| tree | c345290ab932041629fc113b0133a9c9424012bc /sys/modules/libmbpool/Makefile | |
| parent | cec350375d607a0a8fcfe0853419bf88d29ec3da (diff) | |
Hoist the check that we've scanned all the unrs to the top of the
loop since none might have been allocated e.g., if we've only used
allocated units in order with alloc_unr() and never freed any.
Add a test of the trivial case.
Reviewed by: kib, markj
Sponsored by: Innovate UK
Fixes: a014e0a3987a ("unr(9): add iterator interface")
Differential Revision: https://reviews.freebsd.org/D62139
Diffstat (limited to 'sys/modules/libmbpool/Makefile')
0 files changed, 0 insertions, 0 deletions
