The x86/asm changes merged for Linux 7.1 include two patches by Uros Bizjak that remove unnecessary memory clobbers from inline Assembly code. The first patch removes a memory clobber from the kernel's FS/GS base accessors, which only read MSRs into general purpose registers without accessing memory. The second removes a memory clobber from savesegment() for the same reason. Eliminating these unnecessary memory clobbers can improve instruction scheduling and register allocation by avoiding unneeded compiler barriers.

1m read timeFrom phoronix.com
Post cover image

Sort: