Linux Operating System Source Code: IBM Patches

 
Dynamic per-CPU mem allocator (kmalloc_percpu)
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
Release Notes Date Files
2.5.50 Release Notes 2002-12-05  
  File Notes   kmalloc_percpu-2.5.50-1.patch.gz
  File Notes   slabchange-2.5.50-1.patch.gz

Show all releases