git: drm: Use the NetBSD implementation of list_sort()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Aug 22 08:17:36 PDT 2015


commit dcc49d6f8f6091bf661b5dffcea7bdfb735fd36b
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Aug 22 15:53:03 2015 +0200

    drm: Use the NetBSD implementation of list_sort()
    
    * The NetBSD import is more similar to the Linux version and doesn't
      do dynamic memory allocation
    
    * Remove the old incomplete FreeBSD implementation
    
    * It wasn't even using M_DRM with its kmalloc() calls, potentially
      leaking memory

Summary of changes:
 sys/dev/drm/drm/Makefile | 4 ++--
 sys/dev/drm/drm_modes.c  | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list