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

From: Qing Wong
Date: Sat Apr 05 2025 - 10:17:19 EST


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(-)

--
2.43.0