Regarding mmap synchronization.

mindentropy mindentropy at
Sun Sep 18 14:02:30 EDT 2011


  I have mmaped a circular queue buffer created in the kernel.  Now I want to 
mmap the read and write pointers in the queue but I am not sure how to 
synchronize the access of the pointers between the kernel and userspace(while 
checking sizes for overflow and underflow). How should I go about doing this?


More information about the Kernelnewbies mailing list