Are there any I/O notification facility (like epoll) can be used in kernel space?
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.
精彩评论