开发者

Is it possible to "wake up" linux kernel process from user space without system call?

开发者 https://www.devze.com 2023-04-12 08:43 出处:网络
I\'m trying to modify a kernel module that manages a special hardware. The user space process, performs 2 ioctl() system calls per milliseconds to talk with the module. This doesn\'t meet my real.time

I'm trying to modify a kernel module that manages a special hardware. The user space process, performs 2 ioctl() system calls per milliseconds to talk with the module. This doesn't meet my real.time requirements because the 2 syscalls sometimes take to long to execute and go out my time slot. I know that with mmap I could share a memory area, and this is great, but how can I synchronize the data ex开发者_Python百科change with the module without ioctl() ?

0

精彩评论

暂无评论...
验证码 换一张
取 消