Page MenuHomeFreeBSD

replace blist_fill with list_alloc_all
AbandonedPublic

Authored by dougm_rice.edu on Sep 26 2017, 10:17 PM.

Details

Reviewers
None
Summary

The only use of blist_fill is one that uses it to allocate all the free blocks at once. This can be implemented trivially, and quickly, by accessing only the root node. Define blist_alloc_all to do that, and discard blist_fill. Use blist_alloc_all in place of blist_fill.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

dougm_rice.edu added a reviewer: alc.

Add an alloc-all option to the test program.

Correct update of swap_pager_avail.

dougm_rice.edu abandoned this revision.Jan 6 2018, 7:40 PM
dougm_rice.edu removed a reviewer: alc.