[lkml]   [2018]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [GIT PULL] pin control bulk changes for v4.16
From: Linus Torvalds
> Sent: 02 February 2018 22:57
> I also wonder if there are any automated tools that try to find these
> kinds of crazy things. I suspect a lot of our build times is the poor
> compiler just reading and parsing header files over and over again,
> and a lot of them are probably not needed.

I've counted system calls during a NetBSD kernel build, I imagine Linux is
much the same.
Most of the calls were open(), and most of those failing opens.
I suspected that most came from searching the -I path to find headers.
Build over NFS and the cost is even more significant (every directory
name in the path (used to) require an NFS message exchange).


 \ /
  Last update: 2018-02-05 11:10    [W:0.088 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site