Re: [PATCH 1/2] x86: Prevent userspace MSR access from dominating the console

2020-08-19 Thread Borislav Petkov
On Mon, Aug 17, 2020 at 04:24:29PM +0100, Chris Down wrote: > Applications which manipulate MSRs from userspace often do so > infrequently, and all at once. As such, the default printk ratelimit > architecture supplied by pr_err_ratelimited doesn't do enough to prevent > kmsg becoming completely ov

[PATCH 1/2] x86: Prevent userspace MSR access from dominating the console

2020-08-17 Thread Chris Down
Applications which manipulate MSRs from userspace often do so infrequently, and all at once. As such, the default printk ratelimit architecture supplied by pr_err_ratelimited doesn't do enough to prevent kmsg becoming completely overwhelmed with their messages and pushing other salient information