[lkml]   [2021]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v19 06/25] x86/cet: Add control-protection fault handler
On 2/8/2021 10:20 AM, Borislav Petkov wrote:
> 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?

I have not run into the situation. Initially it was there because other
faults have it. When you asked, I went through it and put out my
reasoning. I think it still makes sense to keep it.


 \ /
  Last update: 2021-02-08 21:19    [W:0.081 / U:4.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site