]> git.baikalelectronics.ru Git - kernel.git/commit
x86_64: Calgary - tighten up the bitmap locking
authorMuli Ben-Yehuda <muli@il.ibm.com>
Sat, 21 Jul 2007 15:11:04 +0000 (17:11 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:11 +0000 (18:37 -0700)
commite44fe5ffa22eb3c56e1b69ec8ceabe579063d638
treed6f13abb1b2640b598907c00d8eb4d2c17743b68
parent6d047b73674a7f3348adddb36516dcd6047631ed
x86_64: Calgary - tighten up the bitmap locking

Currently the IOMMU table's lock protects both the bitmap and access
to the hardware's TCE table. Access to the TCE table is synchronized
through the bitmap; therefore, only hold the lock while modifying the
bitmap. This gives a yummy 10-15% reduction in CPU utilization for
netperf on a large SMP machine.

Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/pci-calgary.c