On Tue, 2016-09-20 at 13:36 +0000, David Laight wrote: > From: Eric Dumazet > > Sent: 20 September 2016 14:29 > ... > > > [ 47.565420] -2117905507 + -695755206 cannot be represented in type > > > 'int' > ... > > I do not think we have to worry here. > > > > These is best effort, and unfortunately atomic_t are int. > > Not until we compile on a cpu where int arithmetic doesn't wrap.
Then I guess the guy adding this kind of arches in the kernel will have to add all the core kernel infra. If you have an idea, I will happily review a patch.