git: libc - Fix bug in recent malloc_usable_size() support

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 8 23:28:29 PDT 2022


commit d753779fa1afbe6e359db34a022781d9fb552363
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 8 23:25:13 2022 -0700

    libc - Fix bug in recent malloc_usable_size() support
    
    * Add missing unlock in the bigalloc check path
    
    * Fixes miniruby deadlock and other threaded uses of malloc_usable_size()
      on large memory blocks.

Summary of changes:
 lib/libc/stdlib/nmalloc.c | 2 ++
 1 file changed, 2 insertions(+)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list