]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto/4.4/4.8: uvesafb: provide option to specify timeout for task completion
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 8 Sep 2016 01:08:49 +0000 (21:08 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Sep 2016 07:25:03 +0000 (08:25 +0100)
commit872a83be6e86005f6426c90073ece56de4534ac0
tree4c484a034d2e03ee8c30732f040c9b600dc6c1b3
parent3d9735e3ccacbd60e060683c41c4203184fce109
linux-yocto/4.4/4.8: uvesafb: provide option to specify timeout for task completion

Integrating the following patch:

[
   We try to make this change a generic extension, but it is
   actually for a corner case. When a VM (qemu) gets a very limited
   cpu bandwidth from host, which could be under a heavy load, the
   existing 5000 ms timeout could occur and trigger error messages
   in the task function's callers.

   This change adds a new timeout parameter so that we can tweak
   the value as a workaround or for troubleshooting purposes. In
   the infinite wait case, A warning message is printed at 5000ms
   interval.

   In real world, the current 5 sec is generous enough for a video
   request in my opinion, so this change could not be very useful.

   Upstream Status: Inappropriate

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
meta/recipes-kernel/linux/linux-yocto_4.4.bb