memory for kernel