powerpc/opal: Wake up kopald polling thread before waiting for events
Michael Ellerman
mpe at ellerman.id.au
Mon Jul 11 20:19:35 AEST 2016
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 at kernel.crashing.org>
> Acked-By: Michael Neuling <mikey at neuling.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a203658b5ed37c11e5016d3fbb
cheers
More information about the Linuxppc-dev
mailing list