Skip to content
Commit 40150d37 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
parent 8ac83757
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment