Date: Fri, 25 Jan 2008 01:45:42 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134049 for review Message-ID: <200801250145.m0P1jgl8048617@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134049 Change 134049 by jhb@jhb_mutex on 2008/01/25 01:45:38 Try this again. Affected files ... .. //depot/projects/smpng/sys/modules/crash/crash.c#44 edit Differences ... ==== //depot/projects/smpng/sys/modules/crash/crash.c#44 (text+ko) ==== @@ -95,6 +95,7 @@ tsleep_race_fallback(void *dummy) { + printf("crash: tsleep fallback fired\n"); wakeup(&race_wchan); } @@ -113,14 +114,14 @@ */ callout_init(&c, CALLOUT_MPSAFE); callout_reset(&c, 5 * hz, tsleep_race_fallback, NULL); - getbinuptime(&start); + binuptime(&start); sleepq_lock(&race_wchan); DROP_GIANT(); sleepq_add(&race_wchan, NULL, "race", SLEEPQ_SLEEP, 0); sleepq_set_timeout(&race_wchan, 1); DELAY(2 * 1000 * 1000); rval = sleepq_timedwait(&race_wchan); - getbinuptime(&finish); + binuptime(&finish); PICKUP_GIANT(); printf("crash: sleepq_timedwait() returned %d\n", rval); bintime_sub(&finish, &start);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801250145.m0P1jgl8048617>