Re: [PATCH mm 1/2] kfence: add option to use KFENCE without static keys

2021-01-11 Thread Jörn Engel
On Mon, Jan 11, 2021 at 10:15:43AM +0100, Marco Elver wrote: > For certain usecases, specifically where the sample interval is always > set to a very low value such as 1ms, it can make sense to use a dynamic > branch instead of static branches due to the overhead of toggling a > static branch. I e

[PATCH mm 1/2] kfence: add option to use KFENCE without static keys

2021-01-11 Thread Marco Elver
For certain usecases, specifically where the sample interval is always set to a very low value such as 1ms, it can make sense to use a dynamic branch instead of static branches due to the overhead of toggling a static branch. Therefore, add a new Kconfig option to remove the static branches and in