Re: calling soo_write() from itimer handler

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.devel.kernel
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Beesdeckar) writes:

>I understand that it should be used work queue.
>Socket which is used in soo_write() is created in user mode with 
>socketpair()
>and one side is passed to kernel module through ioctl and it is used for 
>signaling event from module to user-mode app.
>It transfers 20 byte of data.
>Do you think that in this case it need to be sleepable too ?


Sure, you cannot guarantee that it will not sleep.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.