git: <sys/objcache.h>: Switch to lighter <sys/_malloc.h> header.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Oct 31 14:15:49 PDT 2019


commit 6354fc0f9442e3183abb4b6f4a28be7c5e237c1c
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Oct 20 20:45:00 2019 +0300

    <sys/objcache.h>: Switch to lighter <sys/_malloc.h> header.
    
     Exposing "struct malloc_type" internals is useful even under kernel
     structures namespace. In vmstat(8) this will allow to drop dependency
     on the <sys/malloc.h> header.

Summary of changes:
 sys/dev/acpica/Osd/OsdCache.c        |  2 ++
 sys/dev/disk/iscsi/initiator/iscsi.c |  1 +
 sys/sys/objcache.h                   | 11 ++++++-----
 3 files changed, 9 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6354fc0f9442e3183abb4b6f4a28be7c5e237c1c


-- 
DragonFly BSD source repository


More information about the Commits mailing list