Use mm_buf for input.