Messages in this thread |  | | Date | Tue, 21 Jan 2003 12:30:03 -0800 | From | Joel Becker <> | Subject | Re: [PATCH][2.5] hangcheck-timer |
| |
On Tue, Jan 21, 2003 at 12:03:58PM -0800, john stultz wrote: > boxes), might you consider continuing using get_cycles() for now, > however place it behind a my_gettimeofday() function. That way, once > this issue is fixed, we can just do a simple > s/my_gettimeofday/do_gettimeofday on your code and be done with it?
I'll look at that. It's not as convenient an interface as one long long, though. :-)
> Oh yea, one more thing: I gave the earlier released 2.4 module a whirl, > and the printk() before machine_restart() never gets flushed out to the > logs. Makes it a bit confusing if you are trying to determine if the > hangcheck module or something else bounced the box.
What kernel were you running? I've seen printk()s get lost on a couple Red Hat kernels, but not on vanilla. That's not to say it can't happen, of course.
Joel
--
Life's Little Instruction Book #274
"Leave everything a little better than you found it."
Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: joel.becker@oracle.com Phone: (650) 506-8127 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |