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.