Re: [PATCH 0/2] perf/core: Fix broken throttling bugs

From: Qing Wang
Date: Tue Apr 15 2025 - 10:22:54 EST


Hello,

PING.

Thanks,
Qing.

On 4/5/2025 10:16 PM, Qing Wong wrote:
From: Qing Wang <wangqing7171@xxxxxxxxx>

There is a bug that broken throttling, this patchset intends
to improve the accuracy of throttling.

This patchset does two changes:
- Revert a specific patch to avoid broken throttling when
max_samples_per_tick>1.
- Add throttling judgement when max_samples_per_tick=1.

base-commit: acc4d5ff0b61

Qing Wang (2):
Revert "perf/core: Fix hardlockup failure caused by perf throttle"
perf/core: Fix broken throttling when max_samples_per_tick=1

kernel/events/core.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)