[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1910231037500.2308@nanos.tec.linutronix.de>
Date: Wed, 23 Oct 2019 10:48:11 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Huacai Chen <chenhc@...ote.com>
cc: Andy Lutomirski <luto@...nel.org>,
Vincenzo Frascino <vincenzo.frascino@....com>,
LKML <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>, Arnd Bergmann <arnd@...db.de>,
Paul Burton <paul.burton@...s.com>,
"open list:MIPS" <linux-mips@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 110/110] lib/vdso: Improve do_hres() and update vdso data
unconditionally
On Tue, 22 Oct 2019, Huacai Chen wrote:
https://people.kernel.org/tglx/notes-about-netiquette
Look for Toppost
> If we use (s64)cycles < 0, then how to solve the problem that a 64bit
> counter become negative?
I doubt that you will be able to observe that. A 64bit value becomes
negative after 1<<63 cycles, i.e. at 1GHz thats 292 years of uptime.
What's your problem?
Thanks,
tglx
Powered by blists - more mailing lists