git: kernel - Refactor exis_terminate()

Matthew Dillon dillon at
Sun Mar 21 22:46:13 PDT 2021

commit 45270dd1e4c4f5fc2f0035f791edef2327aefec7
Author: Matthew Dillon <dillon at>
Date:   Sun Mar 21 22:14:29 2021 -0700

    kernel - Refactor exis_terminate()
    * Change exis_terminate() to set the EXIS lock into a CACHED(0) state
      unconditionally, meaning that in one pseudo tick it will wind up
      in NOTCACHED and in two pseudo_ticks it will wind up in the
      TERMINATE (freeable) state.
      This is less confusing, and allows EXIS locks in their simplest form.
      We can add other inlines to perform more nuanced operations.

Summary of changes:
 sys/sys/exislock2.h | 53 +++++++++++++++++++----------------------------------
 1 file changed, 19 insertions(+), 34 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list