git: kernel - Rearrange struct vnode fields

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 2 17:29:12 PST 2020


commit e882b3f61bd9bab7c9bc10f8d73ebb58ad7b4b5a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 28 22:18:15 2020 -0800

    kernel - Rearrange struct vnode fields
    
    * Rearrange vnode fields for improved SMP performance.  Place v_auxrefs
      and v_refcnt together but in a different cache line than v_lock.  This
      allows concurrent SMP operations to effectively pipeline atomic ops
      on these fields that we haven't yet been able to get rid of, improving
      performance.

Summary of changes:
 sys/sys/vnode.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list