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

2013-07-09 Thread Bruce Evans
On Tue, 9 Jul 2013, Andriy Gapon wrote: Log: should_yield: protect from td_swvoltick being uninitialized or too stale The distance between ticks and td_swvoltick should be calculated as an unsigned number. Previously we could end up comparing a negative number with hogticks in which case s

svn commit: r253077 - head/sys/kern

2013-07-09 Thread Andriy Gapon
Author: avg Date: Tue Jul 9 09:01:44 2013 New Revision: 253077 URL: http://svnweb.freebsd.org/changeset/base/253077 Log: should_yield: protect from td_swvoltick being uninitialized or too stale The distance between ticks and td_swvoltick should be calculated as an unsigned number. Previ