Re: [andrea@cpushare.com: Re: [Twisted-Python] linux kernel 2.6.11-rcbroke twisted process pipes]

From: Linus Torvalds
Date: Mon Feb 28 2005 - 20:17:47 EST




On Tue, 1 Mar 2005, Andrea Arcangeli wrote:
>
> I tend to agree that previously it was working by luck, and I suspect
> it's still working by luck in openbsd too, since openbsd seem to do very
> similar to what linux was doing in 2.6.5-rc11 (and 2.6.5-rc11 made a lot
> more sense than 2.6.9 and previous)

I assume you mean 2.6.11-rc5, not 2.6.5-rc11.

> http://www.opengroup.org/onlinepubs/007908799/xsh/poll.html
>
> POLLIN
> Data other than high-priority data may be read without blocking. [..]
> POLLRDNORM
> Normal data (priority band equals 0) may be read without blocking. [..]
>
> btw, I don't really know the difference of POLLIN and POLLRDNORM

As you say, for pipes, none. It only matters on sockets that can have
urgent data (aka oob - out-of-band data).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/