svn commit: r300424 - head/sys/dev/cpuctl
Andrey A. Chernov
ache at FreeBSD.org
Sun May 22 15:22:47 UTC 2016
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
More information about the svn-src-all
mailing list