aboutsummaryrefslogtreecommitdiff
path: root/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'workqueue.c')
-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)