Kernel and user space mapping