|
|
Subscribe / Log in / New account

Profile-guided optimization for the kernel

Profile-guided optimization for the kernel

Posted Sep 4, 2020 22:09 UTC (Fri) by nivedita76 (subscriber, #121790)
In reply to: Profile-guided optimization for the kernel by rbrito
Parent article: Profile-guided optimization for the kernel

Don't know any details, but the LLVM pass sounds similar to gcc's -freorder-blocks-and-partition

In addition to reordering basic blocks in the compiled function, in order to reduce number of taken branches, partitions hot and cold basic blocks into separate sections of the assembly and .o files, to improve paging and cache locality performance.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds