commit-slab.h: code split