 |
 |
Description:
This patch adds the dynamic equivalent of Rusty Russell's static
per-CPU data area. It inroduces a set of interfaces - kmalloc_percpu()
and kfree_percpu() for alloc/free of per-cpu data and then provides
a set of per_cpu_ptr() interfaces to access the data. The interfaces
are just matching extensions of existing interfaces in the kernel.
The main motivation behind this is that static per-CPU data area
cannot be used in modules and in dynamically allocated data structures.
Its potential uses are in per-cpu statistics counters used in drivers
or "modulable" network/fs code. |
 |
Developers:
Dipankar Sarma,
Ravikiran G. Thirumalai |
 |
Status:
Included in project |
 |
Release Included:
linux-2.5.54 |