+ revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch added to -mm tree
Subject: + revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 01 Nov 2013 14:58:14 -0700
The patch titled
Subject: revert "softirq: Add support for triggering softirq work on softirqs"
has been added to the -mm tree. Its filename is
revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: revert "softirq: Add support for triggering softirq work on softirqs"
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 renamed from include/linux/interrupt.h~revert-softirq-add-support-for-triggering-softirq-work-on-softirqs +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>
@@ -392,15 +390,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 )
@@ -408,17 +397,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 renamed from kernel/softirq.c~revert-softirq-add-support-for-triggering-softirq-work-on-softirqs +0 -130
150 lines not on this page · raw message