git: DragonFly_RELEASE_5_6 drm - Fix system lockup bug in signal_pending_state()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 17 15:49:10 PDT 2019


commit 3d50348fba82e5a855e39714dabaddbdd86aba9a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jun 17 15:45:59 2019 -0700

    drm - Fix system lockup bug in signal_pending_state()
    
    * Fix a system lockup bug in signal_pending_state().  It was
      possible for the routine to indicate that no signal was pending
      for an interruptible state when a signal was in fact pending,
      causing a live-lock in a lksleep() loop.
    
    * The proper API is to allow any signal to interrupt when the
      thread is in an interruptible state and to only allow a KILL
      signal to interrupt when the thread is in a non-interruptible
      state.
    
    Testing-by: dillon, tuxillo
    Reviewed-by: ftigeot

Summary of changes:
 sys/dev/drm/include/linux/sched.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3d50348fba82e5a855e39714dabaddbdd86aba9a


-- 
DragonFly BSD source repository



More information about the Commits mailing list