percpu: add __read_mostly to variables which are mostly read only
authorTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 03:32:28 +0000 (12:32 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 05:24:30 +0000 (14:24 +0900)
commit40150d37be7f7949b2ec07d511244da856647d84
tree6edc4e8d0a0302328f5e65ec6378b703cb6c2e35
parent8ac837571491e239e64bd87863c1679d8002e8a2
percpu: add __read_mostly to variables which are mostly read only

Most global variables in percpu allocator are initialized during boot
and read only from that point on.  Add __read_mostly as per Rusty's
suggestion.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
mm/percpu.c