Displaying 1 result from an estimated 1 matches for "2147483647ns".
Did you mean:
2147483647
2012 Mar 16
2
[PATCH v3] use INT64_MAX as max expiration
Change from v2:
Correct the logic when calculating icount.
Change from v1:
According to Jan and Stefano''s comments, drop the previous logic which setting the value in an arbitrary way and use Stefano''s suggestion instead.
Currently, the max expiration time is 2147483647ns(INT32_MAX ns). This is enough when guest is busy, but when guest is idle, the next timer will be later than INT32_MAX ns. And those meaningless alarm will harm the pkg C-state.
PS: Since the overflow will not happen with the expression((delta / 1000) + (delta % 1000 > 0 ? 1 : 0)), so i also rem...