Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试修改管理特殊硬件的内核模块。用户空间进程每毫秒执行 2 次 ioctl() 系统调用以与模块通信。这不符合我的实时要求,因为 2 个系统调用有时需要很长时间才能执行并超出我的时间段。我知道使用 mmap 我可以共享一个内存区域,这很棒,但是如何在没有 ioctl() 的情况下与模块同步数据交换?