[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <195da6ff-3086-4eff-9b91-b28918a11af9@intel.com>
Date: Fri, 15 Dec 2023 10:16:37 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Maksim Davydov <davydov-max@...dex-team.ru>,
linux-kernel@...r.kernel.org, x86@...nel.org
Cc: den-plotnikov@...dex-team.ru, tony.luck@...el.com, tglx@...utronix.de,
mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com, hpa@...or.com,
peterz@...radead.org, juri.lelli@...hat.com, vincent.guittot@...aro.org
Subject: Re: [PATCH] x86/split_lock: add split lock counter
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.
Powered by blists - more mailing lists