Re: [RFC PATCH 0/3] Enable strict percpu address space checks
From: Uros Bizjak
Date: Mon Aug 12 2024 - 10:43:20 EST
On Tue, Aug 6, 2024 at 10:32 PM Christoph Lameter (Ampere)
<cl@xxxxxxxxxx> wrote:
>
> On Mon, 5 Aug 2024, Uros Bizjak wrote:
>
> > Also, the last patch hijacks __percpu tag and repurposes it as a named
> > address space qualifier. While this works surprisingly well in this RFC
> > patchset, I would really appreciate some help on how to rewrite this
> > hack into some "production ready" code.
>
> This looks like good work to find issues with per cpu macro usage. Per cpu
> macros are a bit esoteric and it would be a good benefit if you can
> get this done.
Thanks, I will do my best.
> Sadly I cannot help you much with the address space qualifier.
I have solved this in RFC v2, please see [1].
[1] https://lore.kernel.org/lkml/20240812115945.484051-1-ubizjak@xxxxxxxxx/
Thanks and best regards,
Uros.