git: kernel - Fix kmalloc pool accounting for M_NETCRED

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 2 17:54:45 PST 2017


commit 36ef29efdd487ca6355f5c93fd063612045d39e7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 2 17:40:50 2017 -0800

    kernel - Fix kmalloc pool accounting for M_NETCRED
    
    * Some kfree()'s for M_NETCRED should really have been for M_RTABLE.  Fixes
      an accounting error that shows up in 'vmstat -m'.
    
    * Rename the kmalloc pool in  netinet/ip_encap.c to M_IPENCAP.  It was
      previously named M_NETCRED and duplicated another pool's name.

Summary of changes:
 sys/kern/vfs_subr.c    | 58 ++++++++++++++++++++++++++++++++++++++++----------
 sys/netinet/ip_encap.c |  9 ++++----
 2 files changed, 51 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/36ef29efdd487ca6355f5c93fd063612045d39e7


-- 
DragonFly BSD source repository



More information about the Commits mailing list