From 164a37a55ad6ee14ad9ecf761824f9624ecc09e2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 27 Apr 2016 21:51:24 +0000 Subject: [PATCH] Trim redundant message. WITNESS_WARN() appends "with non-sleepable lock" to the caller's message. Sponsored by: Chelsio Communications --- sys/vm/vm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 5e22b3ef3588..a536ebbd39f9 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -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");