git: kernel - More counter trick spinlock APIs

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 3 19:39:36 PST 2020


commit 1212e0ef404652dafa5f7b19f9ac5b9fc77bc656
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 3 19:34:08 2020 -0800

    kernel - More counter trick spinlock APIs
    
    * Add spin_update_start_only(), spin_update_check_inprog(), and
      spin_update_end_only().  Same as the non-only versions but do not
      acquire a spin-lock in the (v & 1) case.

Summary of changes:
 sys/sys/spinlock2.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1212e0ef404652dafa5f7b19f9ac5b9fc77bc656


-- 
DragonFly BSD source repository



More information about the Commits mailing list