Re: svn commit: r239187 - head/sys/kern

2012-08-11 Thread Bruce Evans
On Sat, 11 Aug 2012, Bruce Evans wrote: On Sat, 11 Aug 2012, David Xu wrote: ... for (;;) { if (!(uq->uq_flags & UQF_UMTXQ)) return (0); - error = msleep(uq, &uc->uc_lock, PCATCH, wmesg, - timo == NULL ? 0 : abs_tim

Re: svn commit: r239187 - head/sys/kern

2012-08-11 Thread Bruce Evans
On Sat, 11 Aug 2012, David Xu wrote: Log: tvtohz will print out an error message if a negative value is given to it, avoid this problem by detecting timeout earlier. Reported by: pho It's interesting that anyone noticed that. In my version, the printf under DIAGNOSTIC (with prettyprinting

svn commit: r239187 - head/sys/kern

2012-08-10 Thread David Xu
Author: davidxu Date: Sat Aug 11 00:06:56 2012 New Revision: 239187 URL: http://svn.freebsd.org/changeset/base/239187 Log: tvtohz will print out an error message if a negative value is given to it, avoid this problem by detecting timeout earlier. Reported by: pho Modified: head/sys/ker