[Ilugc] Communicating From User Space to Kernel Space

  • From: girish1729@xxxxxxxxx (Girish Venkatachalam)
  • Date: Sun Sep 10 19:39:58 2006

On Sun, Sep 10, 2006 at 02:32:09PM +0100, amit saha wrote:

|Thanks for your prompt help. But,perhaps you didnt get me clearly.  I want 
some data which is generated by my user space program to be available to the 
kernel module. And i require the kernel module to be able to access those 
independently without requiring the intervention of a user process.
|
|Any positive feedback wiil be acknowledged!
|
Actually my knowledge stops where kernel begins. :-)

I think Suman Adak is listening and will get back to u at the earliest. 

AFAIK mmap(2) will do what u want to do. Did you RTFM?

Once u setup the mapping then the kernel as well as user space can access the 
relevant pages. after that your kernel code I think driver can do whatever it 
wants with it. 

regards,
Girish

Other related posts: