Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 13 Oct 2023 13:07:51 -0700 | Subject | Re: [PATCH tip] x86/percpu: Rewrite arch_raw_cpu_ptr() |
| |
On Fri, 13 Oct 2023 at 12:30, Uros Bizjak <ubizjak@gmail.com> wrote: > > There are some other issues when memory access to the percpu area is > implemented with an asm. An ongoing analysis shows that compilers > can't CSE asm over basic-block boundaries, the CSE of asm is a very > simple pattern matching through the BB.
Ahh. That explains the odd "partial CSE".
I was assuming that CSE was done on the SSA level with some dominance analysis. Which presumably all the load simplification ends up doing.
Linus
| |