Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 22:33:04 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199008 - head/sys/kern
Message-ID:  <200911062233.nA6MX4v1030364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Fri Nov  6 22:33:03 2009
New Revision: 199008
URL: http://svn.freebsd.org/changeset/base/199008

Log:
  Save the sack when doing a lockmgr_disown() call.
  
  Requested by:	kib
  MFC:		3 days

Modified:
  head/sys/kern/kern_lock.c

Modified: head/sys/kern/kern_lock.c
==============================================================================
--- head/sys/kern/kern_lock.c	Fri Nov  6 22:29:46 2009	(r199007)
+++ head/sys/kern/kern_lock.c	Fri Nov  6 22:33:03 2009	(r199008)
@@ -1086,6 +1086,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?200911062233.nA6MX4v1030364>