Netdev List
 help / color / mirror / Atom feed
* [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ
@ 2008-11-21  4:58 Alexey Dobriyan
  2008-11-21  5:02 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-11-21  4:58 UTC (permalink / raw)
  To: davem; +Cc: netdev

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-21  5:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  4:58 [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ Alexey Dobriyan
2008-11-21  5:02 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox