Regarding mmap synchronization.

mindentropy mindentropy at gmail.com
Sun Sep 18 14:02:30 EDT 2011


Hi,

  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?

Thanks.



More information about the Kernelnewbies mailing list