swap: make cluster allocation per-cpu