[svn-commits] sruffell: linux/trunk r9577 - /linux/trunk/drivers/dahdi/dahdi_dynamic.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jan 3 18:25:55 UTC 2011


Author: sruffell
Date: Mon Jan  3 12:25:51 2011
New Revision: 9577

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9577
Log:
dahdi_dynamic: Do not enable tasklets by default for dynamic_spans.

Running in tasklets does not work well when dahdi doesn't have a span that is
acting as the master.  In this case, process_masterspan is being called in
system timer that may not be running at 1ms intervals.  The end result is that
the dynamic_run function isn't called for every chunk processed, and there is
data loss.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>

Modified:
    linux/trunk/drivers/dahdi/dahdi_dynamic.c

Modified: linux/trunk/drivers/dahdi/dahdi_dynamic.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi_dynamic.c?view=diff&rev=9577&r1=9576&r2=9577
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_dynamic.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_dynamic.c Mon Jan  3 12:25:51 2011
@@ -47,7 +47,7 @@
  * tasklets.
  */
 
-#define ENABLE_TASKLETS
+#undef ENABLE_TASKLETS
 
 /*
  *  Dynamic spans implemented using TDM over X with standard message




More information about the svn-commits mailing list