commit | f58dc01ba2ca9fe3ab2ba4ca43d9c8a735cf62d8 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Aug 14 15:00:50 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Fri Aug 14 15:00:50 2009 +0900 |
tree | 9eb76a0d6aa34e56f8650fe98a5ce26891a522ab | |
parent | 08fc45806103e59a37418e84719b878f9bb32540 [diff] |
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: Tejun Heo <tj@kernel.org>