]> git.baikalelectronics.ru Git - kernel.git/commit
dma kmalloc handling fixes
authorChristoph Lameter <cl@linux-foundation.org>
Thu, 21 Jan 2010 23:43:35 +0000 (17:43 -0600)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 22 Jan 2010 16:33:38 +0000 (18:33 +0200)
commit704b390a513a886d88ec76e1555f6a9258e0b1c0
treeb812dadb615ecff08e4d3ebe97483f192d0be27d
parent723c0db8440aa3cd0da712a2fca943618126148d
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>
mm/slub.c