should_yield problem [Was: svn commit: r251322 - head/sys/kern]
Andriy Gapon
avg at FreeBSD.org
Tue Jul 2 17:25:56 UTC 2013
on 02/07/2013 20:12 Attilio Rao said the following:
> While "ticks" is signed it is used as an unsigned int.
> td_swvolticks is always derived by ticks, which again will always be
> used as an unisgned and then the subtractions among the 2 will be
> consistent.
So returning to my example where ticks == -1946084020 and td_swvoltick == 0 and
(ticks - td->td_swvoltick) == -1946084020. Is this consistent in your opinion?
--
Andriy Gapon
More information about the svn-src-head
mailing list