git: drm: Stop ignoring the second argument of drm_free()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Nov 29 08:38:22 PST 2015


commit 40917bc671d6b7015f78fa6f30d66e3889635702
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sun Nov 29 17:19:21 2015 +0100

    drm: Stop ignoring the second argument of drm_free()
    
    DragonFly's native kfree() call takes a second argument in order to report
    which usage correspond to which memory allocations.
    Some memory areas in the drm subsystem must also be freed with the memory
    type M_TEMP and not M_DRM.
    
    Submitted-by: zrj

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40917bc671d6b7015f78fa6f30d66e3889635702


-- 
DragonFly BSD source repository



More information about the Commits mailing list