, , , 110 150, time_after(110,150) ( ) false. :
time_after(a,b) returns true if the time a is after time b.
, , 0. , , , .. 8- 2 . .
, b - 253, jiffies 2. , time_after(2,253) true. ( int8_t 8- ):
(int8_t) 253 - (int8_t) 2 == -3 - 2 == -5 < 0
. , time_after(128, 127), :
(int8_t) 127 - (int8_t) 128 == 127 - (-128) == 255 == -1 (for 8-bit 2 complement) < 0
(int8_t) 127 - (int8_t) 128 int, 255. longs , time_after( 2147483648, 2147483647):
(long) 2147483647 - (long) 2147483648 == 2147483647 - (-2147483648) == 4294967295 == -1 < 0
, "" jiffies a b, time_after(a,b) false. N- 2 , a 2 ^ (N-1) b. N = 8 , a 128 b. N = 32, 2147483648 ( 1 ) 25 .
, time_after(a,b) true, ( 2 ^ N) (a-b) > 0 < 2 ^ (N-1).