git: kernel - Clean-up comments on kmalloc_obj

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 18 17:12:25 PDT 2021


commit d11da0c9d90370d9622761e181e9162ee160fe50
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 18 17:10:52 2021 -0700

    kernel - Clean-up comments on kmalloc_obj
    
    * Rewrite some of the confusing comments (that were no longer appplicable).
    
    * Remove the mgt back-pointer from the slab structure.  It is something
      that I originally had to actively deal with slabs in kfree_obj(), but
      eventually decided to nix in favor of a top-down passive poll instead.
    
    Reported-by: James Cook

Summary of changes:
 sys/kern/kern_kmalloc.c | 11 ++++++++++-
 sys/sys/_malloc.h       | 15 ++++++++-------
 2 files changed, 18 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list