On Wed, Sep 3, 2025 at 6:26 AM Andrew Pinski <[email protected]> wrote:
>
> On Tue, Sep 2, 2025 at 9:22 PM Sam James <[email protected]> wrote:
> >
> > Andi Kleen <[email protected]> writes:
> >
> > > That said the automatic scanning of identifiers still seems like a
> > > useful option to have. I bet the kernel is not the only software
> > > with this issue.
> >
> > Off the top of my head, there's PHP and Valgrind.. I'd have to go
> > looking for more (of course projects have added workarounds over the
> > years or even dropped their top-level asm use entirely). They definitely 
> > exist.
> >
> > PHP is https://bugs.php.net/bug.php?id=77445
> > (https://github.com/php/php-src/blob/d85662d6cc2c6d5f69403f6fb2001ff78e1bd174/Zend/zend_execute.c).
> >  They
> > do have a configure arg to disable it though. It's a good example of
> > non-trivial use I think.
>
> No, that is a different issue from toplevel asm, that is global
> register variables which this patch set as far as I know does not fix.

Global reg vars should be handled similar though, by constraining partitioning.

Richard.

> Thanks,
> Andrew
>
> >
> > sam

Reply via email to