git: kern: Use atomic ops for nfiles and move them out of filehead spinlock

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Oct 14 05:10:20 PDT 2015


commit b545e84c6815004ef015d1467c31be3108f7840d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Oct 12 21:11:44 2015 +0800

    kern: Use atomic ops for nfiles and move them out of filehead spinlock
    
    This prepares to split filehead into multiple heads to reduce filehead
    spinlock contention.

Summary of changes:
 sys/kern/kern_descrip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list