cvs commit: src/sys/kern subr_witness.c

John Baldwin jhb at
Fri Sep 2 13:23:50 PDT 2005

jhb         2005-09-02 20:23:50 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  - Add some comments to some of the static lock orders.  Don't explicitly
    link proctree and allproc to Giant since that order is already implicitly
  - Use a goto to handle the case where we want to enforce a reversal before
    calling isitmydescendant() in witness_checkorder() so that the logic is
    easier to follow and so that it is easier to add more forced-reversal
    cases in the future.
  MFC after:       3 days
  Revision  Changes    Path
  1.199     +14 -5     src/sys/kern/subr_witness.c

More information about the cvs-src mailing list