change sctp globals to __read_mostly
Subsystems (3)
PATCH 1/1 change sctp globals to __read_mostly
Change sctp globals to __read_mostly.
Signed-off-by Brian Haley <[email protected]>
net/sctp/protocol.c +1 -1
@@ -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;
From: Brian Haley <[email protected]>
Date: Fri, 01 Sep 2006 11:31:52 -0400
Quoted 3 lines
Change sctp globals to
__read_mostly.Signed-off-by Brian Haley <[email protected]>
Applied, thanks.