File tree 1 file changed +1
-15
lines changed 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,6 @@ static void wakeup_softirqd(void)
77
77
wake_up_process (tsk );
78
78
}
79
79
80
- /*
81
- * If ksoftirqd is scheduled, we do not want to process pending softirqs
82
- * right now. Let ksoftirqd handle this at its own rate, to get fairness.
83
- */
84
- static bool ksoftirqd_running (void )
85
- {
86
- struct task_struct * tsk = __this_cpu_read (ksoftirqd );
87
-
88
- return tsk && (tsk -> state == TASK_RUNNING );
89
- }
90
-
91
80
/*
92
81
* preempt_count and SOFTIRQ_OFFSET usage:
93
82
* - preempt_count is changed by SOFTIRQ_OFFSET on entering or leaving
@@ -324,7 +313,7 @@ asmlinkage __visible void do_softirq(void)
324
313
325
314
pending = local_softirq_pending ();
326
315
327
- if (pending && ! ksoftirqd_running () )
316
+ if (pending )
328
317
do_softirq_own_stack ();
329
318
330
319
local_irq_restore (flags );
@@ -351,9 +340,6 @@ void irq_enter(void)
351
340
352
341
static inline void invoke_softirq (void )
353
342
{
354
- if (ksoftirqd_running ())
355
- return ;
356
-
357
343
if (!force_irqthreads ) {
358
344
#ifdef CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK
359
345
/*
You can’t perform that action at this time.
0 commit comments