[bal] Update result in alloc_pages for all cases.