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

2005-02-28 Thread Andrea Arcangeli
On Mon, Feb 28, 2005 at 05:16:35PM -0800, Linus Torvalds wrote: > I assume you mean 2.6.11-rc5, not 2.6.5-rc11. Indeed sorry, I've probably typed that 2.6.5 number too many times ;) > As you say, for pipes, none. It only matters on sockets that can have > urgent data (aka oob - out-of-band

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

2005-02-28 Thread Linus Torvalds
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

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

2005-02-28 Thread Andrea Arcangeli
Just a short update since I got feedback on the twisted side. The "r and w" check that twisted does seems really correct and in sync with current BK: POLLERR will make both of these bitmask trigger and this should lead to the "r and w" condition being True. #define POLLIN_SET (POLLRDNORM |

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

2005-02-28 Thread Andrea Arcangeli
Just a short update since I got feedback on the twisted side. The r and w check that twisted does seems really correct and in sync with current BK: POLLERR will make both of these bitmask trigger and this should lead to the r and w condition being True. #define POLLIN_SET (POLLRDNORM | POLLRDBAND

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

2005-02-28 Thread Linus Torvalds
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

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

2005-02-28 Thread Andrea Arcangeli
On Mon, Feb 28, 2005 at 05:16:35PM -0800, Linus Torvalds wrote: I assume you mean 2.6.11-rc5, not 2.6.5-rc11. Indeed sorry, I've probably typed that 2.6.5 number too many times ;) As you say, for pipes, none. It only matters on sockets that can have urgent data (aka oob - out-of-band data).