[ovs-dev] [PATCH 5/7] datapath: Backport workqueue functions.

Ben Pfaff blp at nicira.com
Mon Sep 20 20:35:08 UTC 2010


On Mon, Sep 20, 2010 at 11:13:43AM -0700, Jesse Gross wrote:
> An upcoming commit will use some workqueue functions that weren't
> available on earlier kernels, so this backports those functions.
> The backporting uses timers instead of delayed work queues because
> the earlier versions of work queues have some unsafe corner cases.
> In addition, this removes some unused work queue backporting code
> that is no longer used because it is potentially unsafe.

Workqueues run in process context, timers in softirq context, right?  If
so, the simulated delayed workqueues have very different characteristics
from regular workqueues.  I think that this deserves a comment at least.




More information about the dev mailing list