Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 16:11:20 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199653 - stable/8/sys/kern
Message-ID:  <200911221611.nAMGBKpO022980@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Sun Nov 22 16:11:20 2009
New Revision: 199653
URL: http://svn.freebsd.org/changeset/base/199653

Log:
  MFC r199008:
  Track lockmgr_disown() in the stack.

Modified:
  stable/8/sys/kern/kern_lock.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/kern/kern_lock.c
==============================================================================
--- stable/8/sys/kern/kern_lock.c	Sun Nov 22 16:09:27 2009	(r199652)
+++ stable/8/sys/kern/kern_lock.c	Sun Nov 22 16:11:20 2009	(r199653)
@@ -1083,6 +1083,7 @@ _lockmgr_disown(struct lock *lk, const c
 	LOCK_LOG_LOCK("XDISOWN", &lk->lock_object, 0, 0, file, line);
 	WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, file, line);
 	TD_LOCKS_DEC(curthread);
+	STACK_SAVE(lk);
 
 	/*
 	 * In order to preserve waiters flags, just spin.



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