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

percpu: add chunk->base_addr



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>
parent fb435d52
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