]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SPARC64]: Fix bad performance side effect of strbuf timeout changes.
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2005 18:40:32 +0000 (11:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2005 18:40:32 +0000 (11:40 -0700)
commita228dfd5dc4b92288ea22d427b2bfc48ba5bb8b0
treebd3c9a5892a5e3823427c9d614fd6c9aee96c1fb
parent37e0915b701281182cea9fc90e894d10addf134a
[SPARC64]: Fix bad performance side effect of strbuf timeout changes.

The recent change to add a timeout to strbuf flushing had
a negative performance impact.  The udelay()'s are too long,
and they were done in the wrong order wrt. the register read
checks.  Fix both, and things are happy again.

There are more possible improvements in this area.  In fact,
PCI streaming buffer flushing seems to be part of the bottleneck
in network receive performance on my SunBlade1000 box.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_iommu.c
arch/sparc64/kernel/sbus.c