commit: convert commit->buffer to a slab