kernel module to allocate memory