git: drm: msleep() must not sleep forever

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Oct 23 09:07:34 PDT 2014


commit 973d111be925a4b40dea8054522c357ae9c23640
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Thu Oct 23 17:36:30 2014 +0200

    drm: msleep() must not sleep forever
    
    * In some cases, the msleep() implementation called tsleep() with a
      timeout value of zero, making the calling thread sleep forever.
    
    * Ensure tsleep() is always called with a minimal timeout value of
      one tick to avoid this situation.

Summary of changes:
 sys/dev/drm/include/linux/delay.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/973d111be925a4b40dea8054522c357ae9c23640


-- 
DragonFly BSD source repository



More information about the Commits mailing list