]> git.baikalelectronics.ru Git - kernel.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)
commit424951d54b2e2f6b62f6c81f3869e4658ded8748
treebd3c9a5892a5e3823427c9d614fd6c9aee96c1fb
parent7ef70a0ab5d2b0a2756ff2fd11a5b407ea88cc64
[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