Re: [ovs-dev] [threads v2 04/13] poll-loop: Simplify and speed up polling.

2013-07-16 Thread Ben Pfaff
On Tue, Jul 16, 2013 at 10:41:25AM -0700, Gurucharan Shetty wrote: > On Fri, Jul 12, 2013 at 2:54 PM, Ben Pfaff wrote: > > > The simplification comes from dropping support for canceling a > > poll_waiter, which was a feature that was never used. The speedup > > comes from avoiding a malloc() for

Re: [ovs-dev] [threads v2 04/13] poll-loop: Simplify and speed up polling.

2013-07-16 Thread Gurucharan Shetty
On Fri, Jul 12, 2013 at 2:54 PM, Ben Pfaff wrote: > The simplification comes from dropping support for canceling a > poll_waiter, which was a feature that was never used. The speedup > comes from avoiding a malloc() for every call to poll_fd_wait(). > (I doubt that this significantly improves pe

[ovs-dev] [threads v2 04/13] poll-loop: Simplify and speed up polling.

2013-07-12 Thread Ben Pfaff
The simplification comes from dropping support for canceling a poll_waiter, which was a feature that was never used. The speedup comes from avoiding a malloc() for every call to poll_fd_wait(). (I doubt that this significantly improves performance.) This prepares for making the polling structures