|
|
Subscribe / Log in / New account

The fast kernel headers tree

The fast kernel headers tree

Posted Jan 3, 2022 17:25 UTC (Mon) by jhhaller (guest, #56103)
Parent article: The fast kernel headers tree

That's going to put a substantial drop in performance in my post-retirement plan to modify gcc to use openat for -I directives instead of concatenating each of the -I paths and trying to open the files from root, which cuts out a number of inode lookups and the string concatenation. I doubt it would have improved performance more than a few percent, and now there will be a lot fewer files to open. At least for the kernel, anyway, it could still help other compilations. But, someone may beat me to the change, or perhaps someone has already done it.


to post comments

The fast kernel headers tree

Posted Jan 9, 2022 10:50 UTC (Sun) by adobriyan (subscriber, #30858) [Link]

It may not be that bad. Given that C compile times are proportional to the total size of files read, you improvements will stand out more percentage wise!


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