git: sbin/hammer: Remove redundant cache counter NCache

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Dec 17 11:28:47 PST 2016


commit e827d884ce8cb364ce2960d152f863fabf413976
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 17 01:49:12 2016 +0900

    sbin/hammer: Remove redundant cache counter NCache
    
    Incrementation and decrementation of NCache is always aligned
    with CacheUse in a single thread program like /sbin/hammer,
    so this cache counter isn't necessary.

Summary of changes:
 sbin/hammer/cache.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list