This will come in handy in the (upcoming) page-slab set assertions.
The flat_bitmap module offers an extended API, at the cost of decreased performance in the case of very large bitmaps.