Author: ache
Date: Sun May 22 15:22:45 2016
New Revision: 300424
URL: https://svnweb.freebsd.org/changeset/base/300424
Log:
Improve panic message by specifying on which cpu it really is.
Modified:
head/sys/dev/cpuctl/cpuctl.c
Modified: head/sys/dev/cpuctl/cpuctl.c
==============================================================================
--- head/sys/dev/cpuctl/cpuctl.c Sun May 22 14:31:20 2016
(r300423)
+++ head/sys/dev/cpuctl/cpuctl.c Sun May 22 15:22:45 2016
(r300424)
@@ -126,7 +126,7 @@ set_cpu(int cpu, struct thread *td)
sched_bind(td, cpu);
thread_unlock(td);
KASSERT(td->td_oncpu == cpu,
- ("[cpuctl,%d]: cannot bind to target cpu %d", __LINE__, cpu));
+ ("[cpuctl,%d]: cannot bind to target cpu %d on cpu %d", __LINE__,
cpu, td->td_oncpu));
}
static void
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"