[Skiboot] [PATCH] run pollers in cpu_process_local_jobs() if running job synchonously
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Nov 24 17:10:50 AEDT 2016
Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> In the event we only have 1 CPU thread, we run asynchronous jobs
> synchronously, and while we wait for them to finish, we run pollers.
>
> However, if the jobs themselves don't call pollers (e.g. by time_wait())
> then we'll end up in long periods of not running pollers at all.
>
> To work around this, explicitly run pollers when we're the only
> CPU thread (i.e. when we run the job synchronously).
>
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
Merged to master as of ecac29429861a912bd061df799dbc54493966f98
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list