smalloc: only clear the bitmap, not the whole pool
authorJens Axboe <axboe@fb.com>
Sun, 8 Nov 2015 00:33:38 +0000 (17:33 -0700)
committerJens Axboe <axboe@fb.com>
Sun, 8 Nov 2015 00:33:38 +0000 (17:33 -0700)
commit9c3e13e3314da394698ca32f21cc46d46b7cfe47
tree249fb73dc74fd737a974d4919ad730e44b2c98ce
parentee386b786fdec6399f3d7b8e9c4d401e0d7194f9
smalloc: only clear the bitmap, not the whole pool

This reduces startup time, and the memset() isn't useful nor
needed on the full range.

Signed-off-by: Jens Axboe <axboe@fb.com>
smalloc.c