[PATCH stable 0/1] x86: aperfmperf: bug report

From: Yipeng Zou
Date: Thu Oct 20 2022 - 22:21:18 EST


Recently i was doing some work about calculating CPU frequency on x86 on
stable branch linux-5.10.y, and there is a problem which i descrip in
the commit message.

I've noticed that it has been abandoned on the mainline. On the mainline
it becomes to update [a,m]cnt in timer code with HZ frequency, and it is
actually calculated at the time of reading the cpu freqency. This solves
the problem above.

So, Are there other reasons why the stable branch doesn't have these
changes?, this patch is just to ask how we plan to fix it.

Yipeng Zou (1):
x86: aperfmperf: fix overflow problem in the concurrency scenario

arch/x86/kernel/cpu/aperfmperf.c | 4 ----
1 file changed, 4 deletions(-)

--
2.17.1