svn commit: r298723 - head/sys/vm

John Baldwin jhb at FreeBSD.org
Wed Apr 27 21:51:25 UTC 2016


Author: jhb
Date: Wed Apr 27 21:51:24 2016
New Revision: 298723
URL: https://svnweb.freebsd.org/changeset/base/298723

Log:
  Trim redundant message.
  
  WITNESS_WARN() appends "with non-sleepable lock" to the caller's message.
  
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/vm/vm_map.c

Modified: head/sys/vm/vm_map.c
==============================================================================
--- head/sys/vm/vm_map.c	Wed Apr 27 21:12:05 2016	(r298722)
+++ head/sys/vm/vm_map.c	Wed Apr 27 21:51:24 2016	(r298723)
@@ -345,7 +345,7 @@ vmspace_free(struct vmspace *vm)
 {
 
 	WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
-	    "vmspace_free() called with non-sleepable lock held");
+	    "vmspace_free() called");
 
 	if (vm->vm_refcnt == 0)
 		panic("vmspace_free: attempt to free already freed vmspace");


More information about the svn-src-all mailing list