Re: [PATCH v19 06/25] x86/cet: Add control-protection fault handler
From: Borislav Petkov
Date: Mon Feb 08 2021 - 15:02:17 EST
On Fri, Feb 05, 2021 at 10:00:21AM -0800, Yu, Yu-cheng wrote:
> The ratelimit here is only for #CP, and its rate is not counted together
> with other types of faults. If a task gets here, it will exit. The only
> condition the ratelimit will trigger is when multiple tasks hit #CP at once,
> which is unlikely. Are you suggesting that we do not need the ratelimit
> here?
I'm trying to first find out why is it there.
Is this something you've hit during testing and thought, oh well, this
needs a ratelimit or was it added just because?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette