lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 21 Nov 2008 07:58:59 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org
Subject: [PATCH] net: ifdef NET_TX_SOFTIRQ, NET_RX_SOFTIRQ

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@...il.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,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ