I want to be able to share a dynamic binary tree which is part of a user process in the kernel space. The tree will be used as shared data between user space process and kernel thread. Is this something that can be accomplished using the mmap() facility? Is there better alternative to achieve this? The pointers used in the data structure will be a issue for sure.
The other option would be to add some messages between the user process and the kernel and sync up the trees. I am trying to avoid this to avoid synchronization issues.
Thanks, Shobha.