Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 22:58:32 +0000 (UTC)
From:      Paul Saab <ps@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_lock.c
Message-ID:  <200411292258.iATMwW8J036959@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ps          2004-11-29 22:58:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c 
  Log:
  When upgrading the shared lock to an exclusive lock, if we discover
  that the exclusive lock is already held, then we call panic. Don't
  clobber internal lock state before panic'ing. This change improves
  debugging if this case were to happen.
  
  Submitted by:   Mohan Srinivasan mohans at yahoo-inc dot com
  Reviewed by:    rwatson
  
  Revision  Changes    Path
  1.77      +2 -3      src/sys/kern/kern_lock.c



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