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
@@ -325,7 +314,7 @@ asmlinkage __visible void do_softirq(void)
325
314
326
315
pending = local_softirq_pending ();
327
316
328
- if (pending && ! ksoftirqd_running () )
317
+ if (pending )
329
318
do_softirq_own_stack ();
330
319
331
320
local_irq_restore (flags );
@@ -352,9 +341,6 @@ void irq_enter(void)
352
341
353
342
static inline void invoke_softirq (void )
354
343
{
355
- if (ksoftirqd_running ())
356
- return ;
357
-
358
344
if (!force_irqthreads ) {
359
345
#ifdef CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK
360
346
/*
You can’t perform that action at this time.
0 commit comments