git: DragonFly_RELEASE_3_6 drm: Convert idr spinlocks to lockmgr locks

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Dec 5 07:16:01 PST 2013


commit b8620e2eab7e9ea6b646686707ceae80229beabc
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Thu Dec 5 13:39:36 2013 +0100

    drm: Convert idr spinlocks to lockmgr locks
    
    * Since the idr code uses blocking calls in some code paths we can't
      hold spin locks accross idr calls
    
    * This commit and the idr infinite loop one fix system freeze issues
      with some Xorg operations involving a huge number of pixmaps

Summary of changes:
 sys/dev/drm/drm_crtc.c             | 14 +++++++-------
 sys/dev/drm/drm_gem.c              | 36 ++++++++++++++++++------------------
 sys/dev/drm/include/drm/drmP.h     |  4 ++--
 sys/dev/drm/include/drm/drm_crtc.h |  2 +-
 4 files changed, 28 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8620e2eab7e9ea6b646686707ceae80229beabc


-- 
DragonFly BSD source repository



More information about the Commits mailing list