• Tejun Heo's avatar
    percpu: drop @unit_size from embed first chunk allocator · 788e5abc
    Tejun Heo authored
    The only extra feature @unit_size provides is making dead space at the
    end of the first chunk which doesn't have any valid usecase.  Drop the
    parameter.  This will increase consistency with generalized 4k
    allocator.
    
    James Bottomley spotted missing conversion for the default
    setup_per_cpu_areas() which caused build breakage on all arcsh which
    use it.
    
    [ Impact: drop unused code path ]
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    788e5abc
setup_percpu.c 14.8 KB