Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jul 2013 20:24:56 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        attilio@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: should_yield problem [Was: svn commit: r251322 - head/sys/kern]
Message-ID:  <51D30CE8.7030803@FreeBSD.org>
In-Reply-To: <CAJ-FndD5tCxe-L8V73MFtk_4xr0Wq3MHasKY4O_tcA3uYouKAw@mail.gmail.com>
References:  <201306031736.r53Hain5093431@svn.freebsd.org> <51D30463.50608@FreeBSD.org> <CAJ-FndD5tCxe-L8V73MFtk_4xr0Wq3MHasKY4O_tcA3uYouKAw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D30CE8.7030803>