I looking for mechanism to implement shared object between kernel and userspace. Useless to say the type but it may probably be char * or char obj[array_size] or void *.
the functionality should enable both userspace program and kernel to synchronize data in the object. And also need a mechanism in kernel to alert the userspace program if data is just written to the object in kernel in non-blocking way.
I know it seems more like character device/ or block device driver function but I am working on embedded system that requires data being shared between userspace and device. I dont know much about the available userspace api for the device's read/write so this way need arises. But I am looking for something like alerting userspace application in ISR or interrupt handler.
I tried finding it on the internet. But I could not get any relevant search results
This is the result of google search. which totally not what I search