support bootmem alloc