Thread (3 messages) flat view 3 messages, 3 authors, 2007-12-07

Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-12-07 09:59:07
Also in: lkml

On Thursday 06 December 2007, Roland Dreier wrote:
=A0> Regarding the performance problem, have you checked whether converti=
ng all
=A0> your spin_lock_irqsave to spin_lock/spin_lock_irq improves your perf=
ormance
=A0> on the older machines? Maybe it's already fast enough that way.
=20
It does seem that the only places that the hcall_lock is taken also
use msleep, so they must always be in process context. =A0So you can
safely just use spin_lock(), right?
I think it needs some more inspection. The msleep in there is only called
for hcalls that return H_IS_LONG_BUSY(). In theory, you can call
ehca_plpar_hcall_norets() from inside an interrupt handler if the
hcall in question never returns long busy.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help