• Tejun Heo's avatar
    percpu: add chunk->base_addr · bba174f5
    Tejun Heo authored
    The only thing percpu allocator wants to know about a vmalloc area is
    the base address.  Instead of requiring chunk->vm, add
    chunk->base_addr which contains the necessary value.  This simplifies
    the code a bit and makes the dummy first_vm unnecessary.  This change
    will ease allowing a chunk to be mapped by multiple vms.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    bba174f5
percpu.c 63.3 KB