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

* Re: [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ
  2008-11-21  4:58 [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ Alexey Dobriyan
@ 2008-11-21  5:02 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-11-21  5:02 UTC (permalink / raw)
  To: adobriyan; +Cc: netdev

From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri, 21 Nov 2008 07:58:59 +0300

> 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>

I'd rather not do this for now.

Thanks for the patch, though.

^ 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