mmap-driver The kernel alloc memory, user space use this area with mmap, no copy. Edit Makefile, set $(KERNEL_SOURCE) to actual kernel directory which used to build this module. make build make load open two windows, do this: ./client a ./client b