Should found a method such that the same code to be used for the user's heap, but and for the kernel's heap.