Thread (5 messages) flat view 5 messages, 3 authors, 2016-07-11

Re: powerpc/opal: Wake up kopald polling thread before waiting for events

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-11 10:19:36

On Mon, 2016-04-07 at 04:51:44 UTC, Benjamin Herrenschmidt wrote:
On some environments (prototype machines, some simulators, etc...)
there is no functional interrupt source to signal completion, so
we rely on the fairly slow OPAL heartbeat.

In a number of cases, the calls complete very quickly or even
immediately. We've observed that it helps a lot to wakeup the OPAL
heartbeat thread before waiting for event in those cases, it will
call OPAL immediately to collect completions for anything that
finished fast enough.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-By: Michael Neuling <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a203658b5ed37c11e5016d3fbb

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