Re: [PATCH 4/4] x86/percpu: Use C for percpu read/write accessors

From: Ingo Molnar
Date: Mon Oct 09 2023 - 07:42:44 EST



* Uros Bizjak <ubizjak@xxxxxxxxx> wrote:

> I have tried the trick with all reads volatile (and writes as they were
> before the patch), but it didn't make a difference. Also, the kernel from
> the git/tip branch works OK for default config, so I think there is some
> config option that somehow disturbs the named-as enabled kernel.

Yeah, I made sure tip:x86/percpu boots & works fine on a number of systems
- but that testing wasn't comprehensive at all, and I didn't have KASAN
enabled either, which generates pretty intrusive instrumentation.

Thanks,

Ingo