[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200519031742.GB499505@tassilo.jf.intel.com>
Date: Mon, 18 May 2020 20:17:42 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Bob Haarman <inglorion@...gle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Fangrui Song <maskray@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
stable@...r.kernel.org,
Nathan Chancellor <natechancellor@...il.com>,
Alistair Delva <adelva@...gle.com>,
Nick Desaulniers <ndesaulniers@...gle.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Kyung Min Park <kyung.min.park@...el.com>,
afzal mohammed <afzal.mohd.ma@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Kees Cook <keescook@...omium.org>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Dave Hansen <dave.hansen@...el.com>,
Baoquan He <bhe@...hat.com>,
Thomas Lendacky <Thomas.Lendacky@....com>,
Ross Zwisler <zwisler@...omium.org>,
Arvind Sankar <nivedita@...m.mit.edu>,
Dmitry Safonov <0x7f454c46@...il.com>,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com
Subject: Re: [PATCH] x86_64: fix jiffies ODR violation
> Instead, we can avoid the ODR violation by matching other arch's by
> defining jiffies only by linker script. For -fno-semantic-interposition
> + Full LTO, there is no longer a global definition of jiffies for the
> compiler to produce a local symbol which the linker script won't ensure
> aliases to jiffies_64.
I guess it was an historical accident.
Reviewed-by: Andi Kleen <ak@...ux.intel.com>
Powered by blists - more mailing lists