lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] x86/split_lock: add split lock counter
From
On 12/15/23 06:01, Maksim Davydov wrote:
> Provides per task split locks counter to monitor split locks rate
> in the system. It can be helpful in split locks monitoring to get a clear
> sense of which process causing split locks and how many of them have
> happened by the moment. For instance, it might be used by cloud providers
> who can't control guest executable code and want to make decisions based
> on the rate value like ratelimiting or notifing the split lock origins.

Have you considered doing this with tracing instead?

It seems a _little_ silly for everyone to pay the cost of having that
counter around.

\
 
 \ /
  Last update: 2023-12-15 19:17    [W:0.069 / U:1.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site