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");
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to