kalloc and kfree interface and abstraction