3 ms·
Is that an apples-to-apples comparison (either both monolith or both all-modules kernels, both with all drivers enabled?) I recall, back in the long long ago,
by derefr 9y ago
Is that an apples-to-apples comparison (either both monolith or both all-modules kernels, both with all drivers enabled?)
I recall, back in the long long ago, running through `make menuconfig` and disabling what I didn't need to get a smaller kernel + shorter build-times.
- sp332 9y agoNo, I'm sure lots of things have changed. More of the code would be using C99 semantics now, and I have no idea how GCC would have improved or regressed since then. It's possible that it's trading improved runtime performance on ever-more complex hardware for longer compile times.
- zbobet2012 9y agoThe kernel is still c89.
- sp332 9y agoI see that gnu89 is the default, to avoid compatibility problems with older code, but does that mean there is no code in the kernel which requires gnu99? I saw some work was done to make the whole kernel gnu11 compatible as well.
- fahadkhan 9y agohttps://stackoverflow.com/questions/20600497/which-c-version-is-used-in-the-linux-kernel https://stackoverflow.com/questions/20600497/which-c-version...
- sp332 9y agoRight, but I was too lazy to do my own analysis and just extrapolated from that 2013 post to guess that the number is higher now.