title: How to statically allocate memory in kernel module using mmap?
body: <p>I need to allocate memory statically in kernel module using mmap in device driver to perform following operations - 
  1. write in kernel and read in userspace
  2. write in userspace and read in kernel</p>
  
  <p>I am able to do by dynamic memory allocation as given in following link - [<a href="http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-8.html" rel="nofollow">http://people.ee.ethz.ch/~arkeller/linux/multi/kernel_user_space_howto-8.html</a> ] </p>
  
  <p>Just used device driver instead of debugfs.
  How I can do it statically?</p>