Talk:Kernel/Optimization

Examples
You have just added some examples for hardening the kernel. Maybe you want read more here User:Pietinger/Tutorials/Kernel_Hardening_with_KSPP

-- Pietinger 09:03, 07 March 2023 (UTC)


 * Added -- Gso321 (talk) 17:25, 10 March 2023 (UTC)

Wording Queries
This is a really good new submission and one I think many people will find helpful so thanks for creating it.

I do have two queries though:

1. Kernel/Optimization

Here you have suggested using -O3, I know from testing using it systemwide this is generally slower so I think if you know in the case of kernel this is better it would be wise to add some results to show what to accept.

2. Kernel/Optimization

Could you clarify what the warning is for on this one as you can use a LLVM compiled system with a GCC compiled kernel with very few issues nowadays as I'm running gentoo-kernel-bin on my system which is setup in this way.

-- Immolo (talk) 16:19, 10 March 2023 (UTC)


 * 1. You can see some results in Phoronix article. I might add my own benchmarks 2. What i meant is to not mix the binutils, for example will not work because LLVM's ar and ld is not compatible with GCC. -- Gso321 (talk) 17:25, 10 March 2023 (UTC)


 * Now it makes sense to me and I agree with it, please think about adding these to your guide as in my opinion it completes it.
 * Immolo (talk) 17:49, 10 March 2023 (UTC)


 * Done -- Gso321 (talk) 18:01, 10 March 2023 (UTC)

Links to hardened sources
Maybe you are interested also in this one: https://docs.clip-os.org/clipos/kernel.html#configuration (Clip OS is based on Gentoo and made from the french secret service.) -- Pietinger 07:55, 18 April 2023 (UTC)