]> git.baikalelectronics.ru Git - kernel.git/commit
[PARISC] Use page allocator instead of slab allocator in pci-dma.c
authorChristoph Lameter <clameter@sgi.com>
Tue, 16 Oct 2007 21:24:58 +0000 (14:24 -0700)
committerKyle McMartin <kyle@shortfin.cabal.ca>
Thu, 18 Oct 2007 07:58:45 +0000 (00:58 -0700)
commit08fd4181524c093a88a1b62a99676571263b6200
treea9a211fbf6c72f25d4cd85fd42f349e91bb839de
parent503a75d3deda5742ddd131ae2d498b05ba1fad7e
[PARISC] Use page allocator instead of slab allocator in pci-dma.c

Slab pages obtained via kmalloc are not cacheline aligned.  Nor is it
advisable to perform VM operations designed for page allocator pages on
memory obtained via kmalloc.

So replace the page sized allocations in kernel/pci-dma.c with page allocator
pages.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/kernel/pci-dma.c