All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Haley <brian.haley@hp.com>
To: david Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, lksctp-developers@lists.sourceforge.net
Subject: [PATCH] change sctp globals to __read_mostly
Date: Fri, 01 Sep 2006 11:31:52 -0400	[thread overview]
Message-ID: <44F85268.2060907@hp.com> (raw)

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

             reply	other threads:[~2006-09-01 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01 15:31 Brian Haley [this message]
2006-09-18  7:04 ` [PATCH] change sctp globals to __read_mostly 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=44F85268.2060907@hp.com \
    --to=brian.haley@hp.com \
    --cc=davem@davemloft.net \
    --cc=lksctp-developers@lists.sourceforge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.