commit | 91efd773c74bb26b5409c85ad755d536448e229c | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux-foundation.org> | Thu Jan 21 17:43:35 2010 -0600 |
committer | Pekka Enberg <penberg@cs.helsinki.fi> | Fri Jan 22 18:33:38 2010 +0200 |
tree | b812dadb615ecff08e4d3ebe97483f192d0be27d | |
parent | 7738dd9e8f2bc1c249e00c9c20e018448fac0084 [diff] |
dma kmalloc handling fixes 1. We need kmalloc_percpu for all of the now extended kmalloc caches array not just for each shift value. 2. init_kmem_cache_nodes() must assume node 0 locality for statically allocated dma kmem_cache structures even after boot is complete. Reported-and-tested-by: Alex Chiang <achiang@hp.com> Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>