开发者

Are there any I/O notification facility (like epoll) can be used in kernel space?

开发者 https://www.devze.com 2022-12-07 18:01 出处:网络
Recently, I try to monitor the status (writable/readable) of several file descriptors in kernel space. There is a fair approach to make it by epoll in user space, but I can\'t find the similar facilit

Recently, I try to monitor the status (writable/readable) of several file descriptors in kernel space. There is a fair approach to make it by epoll in user space, but I can't find the similar facility to make it in kernel sapce. Those epoll functions implemented in kernel space assume many parameter is in user space (with annotation __u开发者_运维问答ser), thus, I don't think call epoll's kernel handler is the right way. So, my question is are there any I/O notification facility can be used in kernel space?

Thanks in advance.

0

精彩评论

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

关注公众号