aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-01-23 09:33:13 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2013-01-28 10:55:29 +0530
commit601aab99617be64c3481f9ab9404e7922783ef30 (patch)
treec57a6cbcbfd3a99a1064e6f643f53fdc3cc708c5
parentf554b54072c83dc218c5aab45779907c509d581d (diff)
workqueue: fix delays
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/workqueue.c b/workqueue.c
index a92377b..95a31dd 100644
--- a/workqueue.c
+++ b/workqueue.c
@@ -65,7 +65,7 @@ static DEFINE_PER_CPU(struct workqueue_struct *, cpu_wq);
static int total_works_per_timer = 1000, total_works_finished;
-#define TIMER_DELAY 5
+#define TIMER_DELAY 1
static DEFINE_PER_CPU(struct mytimer, _cpu_mytimer);
DECLARE_COMPLETION(wq_complete);
@@ -98,7 +98,7 @@ static void wq_function(struct work_struct *_work)
/* Find current cpu id */
per_cpu(cpu_work_fn_count, cpu)++;
- mdelay(20);
+ mdelay(35);
/* work is queued and processed by same cpu */
if (_mywork->cpu == cpu)