From: Alexey Dobriyan <adobriyan@gmail.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org
Subject: [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ
Date: Fri, 21 Nov 2008 07:58:59 +0300 [thread overview]
Message-ID: <20081121045859.GA5625@x200.localdomain> (raw)
Now that number of softirqs actually matters (see NR_SOFTIRQS), it makes
sense to not add networking ones when not needed.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
include/linux/interrupt.h | 2 ++
1 file changed, 2 insertions(+)
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -246,8 +246,10 @@ enum
{
HI_SOFTIRQ=0,
TIMER_SOFTIRQ,
+#ifdef CONFIG_NET
NET_TX_SOFTIRQ,
NET_RX_SOFTIRQ,
+#endif
BLOCK_SOFTIRQ,
TASKLET_SOFTIRQ,
SCHED_SOFTIRQ,
next reply other threads:[~2008-11-21 4:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 4:58 Alexey Dobriyan [this message]
2008-11-21 5:02 ` [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081121045859.GA5625@x200.localdomain \
--to=adobriyan@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox