* [PATCH] change sctp globals to __read_mostly
@ 2006-09-01 15:31 Brian Haley
2006-09-18 7:04 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Brian Haley @ 2006-09-01 15:31 UTC (permalink / raw)
To: david Miller; +Cc: netdev, lksctp-developers
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
Change sctp globals to __read_mostly.
Signed-off-by: Brian Haley <brian.haley@hp.com>
[-- Attachment #2: sctp.patch --]
[-- Type: text/x-patch, Size: 407 bytes --]
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 5692ef5..d9dd4c4 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -61,7 +61,7 @@
#include <net/inet_ecn.h>
/* Global data structures. */
-struct sctp_globals sctp_globals;
+struct sctp_globals sctp_globals __read_mostly;
struct proc_dir_entry *proc_net_sctp;
DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics) __read_mostly;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] change sctp globals to __read_mostly
2006-09-01 15:31 [PATCH] change sctp globals to __read_mostly Brian Haley
@ 2006-09-18 7:04 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-09-18 7:04 UTC (permalink / raw)
To: brian.haley; +Cc: netdev, lksctp-developers
From: Brian Haley <brian.haley@hp.com>
Date: Fri, 01 Sep 2006 11:31:52 -0400
> Change sctp globals to __read_mostly.
>
> Signed-off-by: Brian Haley <brian.haley@hp.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-18 7:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01 15:31 [PATCH] change sctp globals to __read_mostly Brian Haley
2006-09-18 7:04 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).