• Tejun Heo's avatar
    percpu: generalize first chunk allocator selection · f58dc01b
    Tejun Heo authored
    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>
    f58dc01b
setup_percpu.c 10.2 KB