]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: Make use of batched IOMMU calls on pSeries LPARs
authorOlof Johansson <olof@austin.ibm.com>
Fri, 3 Sep 2004 03:23:30 +0000 (20:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:23:30 +0000 (20:23 -0700)
commitad15f36c96f93d424db354773183404cdb420e03
treedd34e8136dfcb605b7ca12fea262e145368b51c3
parentdd51cabb6adff7022e0c81a4a06eb160a2c90ce3
[PATCH] ppc64: Make use of batched IOMMU calls on pSeries LPARs

Implement the HCALLs to do more than one TCE setup or invalidation at a
time on pSeries LPAR.  Previous implementation did one hypervisor call per
setup or teardown, resulting in significant overhead.

A simple test of "time dd if=/dev/sda of=/dev/null bs=128k" shows the
amount of system time go down by about 5% by using the multi-tce calls.

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_lpar.c
include/asm-ppc64/hvcall.h