[PATCH] Additions to .data.read_mostly section
Mark variables which are usually accessed for reads with __readmostly. Signed-off-by: Alok N Kataria <alokk@calsoftinc.com> Signed-off-by: Shai Fultheim <shai@scalex86.org> Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
39ed3fdeec
commit
6c231b7bab
@@ -47,8 +47,8 @@ EXPORT_SYMBOL(node_online_map);
|
||||
nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL;
|
||||
EXPORT_SYMBOL(node_possible_map);
|
||||
struct pglist_data *pgdat_list __read_mostly;
|
||||
unsigned long totalram_pages;
|
||||
unsigned long totalhigh_pages;
|
||||
unsigned long totalram_pages __read_mostly;
|
||||
unsigned long totalhigh_pages __read_mostly;
|
||||
long nr_swap_pages;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user