RPi: update linux support patch for linux 4.14.15

This commit is contained in:
MilhouseVH 2018-02-02 05:02:37 +00:00
parent ae0e1ecb5e
commit 58f2f0c34e

View File

@ -140524,58 +140524,6 @@ index 0000000000000000000000000000000000000000..20b2a609c511b017d1231e08c901d165
+ };
+};
From b51e64e9ee6e723cc38a2e0b24751745ed8954b4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jan 2018 13:54:41 +0000
Subject: [PATCH 174/201] Revert "softirq: Let ksoftirqd do its job"
This reverts commit 4cd13c21b207e80ddb1144c576500098f2d5f882.
---
kernel/softirq.c | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 4e09821f9d9e8b5815037bd469110e2618abb7f6..58bb6f6359f4ea3fa46008060a1c9cbd12c89e25 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -77,17 +77,6 @@ static void wakeup_softirqd(void)
wake_up_process(tsk);
}
-/*
- * If ksoftirqd is scheduled, we do not want to process pending softirqs
- * right now. Let ksoftirqd handle this at its own rate, to get fairness.
- */
-static bool ksoftirqd_running(void)
-{
- struct task_struct *tsk = __this_cpu_read(ksoftirqd);
-
- return tsk && (tsk->state == TASK_RUNNING);
-}
-
/*
* preempt_count and SOFTIRQ_OFFSET usage:
* - preempt_count is changed by SOFTIRQ_OFFSET on entering or leaving
@@ -324,7 +313,7 @@ asmlinkage __visible void do_softirq(void)
pending = local_softirq_pending();
- if (pending && !ksoftirqd_running())
+ if (pending)
do_softirq_own_stack();
local_irq_restore(flags);
@@ -351,9 +340,6 @@ void irq_enter(void)
static inline void invoke_softirq(void)
{
- if (ksoftirqd_running())
- return;
-
if (!force_irqthreads) {
#ifdef CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK
/*
From 36db437449567b828e0e19e460a9f45f8a57fe99 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 16 Jan 2018 12:59:17 +0000