Name
__alloc_percpu —
allocate one copy of the object for every present
Synopsis
void * __alloc_percpu (
size_t size, size_t align)
;
Arguments
size
how many bytes of memory are required.
align
the alignment, which can't be greater than SMP_CACHE_BYTES.
Description
cpu in the system, zeroing them.
Objects should be dereferenced using the per_cpu_ptr macro only.