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

percpu: generalize first chunk allocator selection



Now that all first chunk allocators are in mm/percpu.c, it makes sense
to make generalize percpu_alloc kernel parameter.  Define PCPU_FC_*
and set pcpu_chosen_fc using early_param() in mm/percpu.c.  Arch code
can use the set value to determine which first chunk allocator to use.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 08fc4580
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