Messages in this thread | | | From | Uros Bizjak <> | Date | Tue, 10 Oct 2023 06:39:11 +0200 | Subject | Re: [PATCH tip] x86/percpu: Use C for arch_raw_cpu_ptr() |
| |
On Mon, Oct 9, 2023 at 10:31 PM Uros Bizjak <ubizjak@gmail.com> wrote: > > Implementing arch_raw_cpu_ptr() in C, allows the compiler to perform > better optimizations, such as setting an appropriate base to compute > the address instead of an add instruction.
Oops, please disregard this patch. It is a previous version, and now will fail compilation with KASAN. The new arch_raw_cpu_ptr should depend on CONFIG_USE_X86_SEG_SUPPORT, not CONFIG_CC_HAS_NAMED_AS.
I will send a v2 after some more testing.
Uros.
| |