From: Avi K. <av...@qu...> - 2008-04-15 05:39:24
|
Anthony Liguori wrote: > > BTW, when we set O_ASYNC on the tap fd, we're eliminating O_NONBLOCK. > This means that we have to poll loop select() when readv()'ing packets > instead of just reading until hitting AGAIN. This means at least an > extra syscall per packet. I didn't know that O_ASYNC and O_NONBLOCK were mutually exclusive. Can you point me at the relevant documentation? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. |