alloc: make small_page_bits() function rather than large_page_bits()