Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 20:23:50 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_witness.c
Message-ID:  <200509022023.j82KNoeo076196@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-09-02 20:23:50 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  - 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
    enforced.
  - 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509022023.j82KNoeo076196>