I'm working with imx6ull custom board. In my BSP, I have enabled uevents for notifying interrupts to userspace application. I'm receiving uevents. But the uevents cause memory exhaust. It uses 500KB within 2sec.Verified with top command.
Finally, it enters to kernel panic after 30 minutes due to Out of Memory.
1. How to avoid this?
2. Is there any other method to receive events to userspace application other than uevents?(should capable of interrupts at every 5ms)?