Patch "revert "softirq: Add support for triggering softirq work on softirqs"" has been added to the 3.10-stable tree
This is a note to let you know that I've just added the patch titled
revert "softirq: Add support for triggering softirq work on softirqs"
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
fc21c0cff2f425891b28ff6fb6b03b325c977428Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <[email protected]>
Date: Thu, 14 Nov 2013 14:32:06 -0800
Subject: revert "softirq: Add support for triggering softirq work on softirqs"
From: Christoph Hellwig <[email protected]>
commit fc21c0cff2f425891b28ff6fb6b03b325c977428 upstream.
This commit was incomplete in that code to remove items from the per-cpu lists was missing and never acquired a user in the 5 years it has been in the tree. We're going to implement what it seems to try to archive in a simpler way, and this code is in the way of doing so.
--- include/linux/interrupt.h | 22 ------- kernel/softirq.c | 131 ---------------------------------------------- 2 files changed, 153 deletions(-)
include/linux/interrupt.h +0 -22
@@ -11,8 +11,6 @@#include <linux/irqnr.h> #include <linux/hardirq.h> #include <linux/irqflags.h> -#include <linux/smp.h> -#include <linux/percpu.h> #include <linux/hrtimer.h> #include <linux/kref.h> #include <linux/workqueue.h>
@@ -488,15 +486,6 @@ extern void __raise_softirq_irqoff(unsigextern void raise_softirq_irqoff (unsigned int nr);extern void raise_softirq (unsigned int nr); -/* This is the worklist that queues up per-cpu softirq work. -* -* send_remote_sendirq() adds work to these lists, and -* the softirq handler itself dequeues from them. The queues -* are protected by disabling local cpu interrupts and they must -* only be accessed by the local cpu that they are for. -*/ -DECLARE_PER_CPU(struct list_head [NR_SOFTIRQS], softirq_work_list); - DECLARE_PER_CPU(struct task_struct *, ksoftirqd);static inline struct task_struct *this_cpu_ksoftirqd (void )
@@ -504,17 +493,6 @@ static inline struct task_struct *this_creturn this_cpu_read (ksoftirqd); } -/* Try to send a softirq to a remote cpu. If this cannot be done, the -* work will be queued to the local cpu. -*/ -extern void send_remote_softirq (struct call_single_data *cp,int cpu,int softirq); - -/* Like send_remote_softirq(), but the caller must disable local cpu interrupts -* and compute the current cpu, passed in as 'this_cpu'. -*/ -extern void __send_remote_softirq (struct call_single_data *cp,int cpu, -int this_cpu,int softirq); -/* Tasklets --- multithreaded analogue of BHs. Main feature differing them of generic softirqs: tasklet
kernel/softirq.c +0 -131
154 lines not on this page · raw message
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch