From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA446C4332F for ; Fri, 4 Nov 2022 02:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbiKDC0N (ORCPT ); Thu, 3 Nov 2022 22:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbiKDC0F (ORCPT ); Thu, 3 Nov 2022 22:26:05 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DDE624BF0 for ; Thu, 3 Nov 2022 19:26:03 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4N3PXf6V4dzpW8R; Fri, 4 Nov 2022 10:22:26 +0800 (CST) Received: from dggpemm500016.china.huawei.com (7.185.36.25) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 4 Nov 2022 10:26:01 +0800 Received: from [10.67.111.115] (10.67.111.115) by dggpemm500016.china.huawei.com (7.185.36.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 4 Nov 2022 10:26:01 +0800 Message-ID: <963da72d-ce85-ea0b-2100-33d191f724ac@huawei.com> Date: Fri, 4 Nov 2022 10:26:01 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 Subject: Re: [PATCH stable 0/1] x86: aperfmperf: bug report To: , , , , , , References: <20221021021740.137196-1-zouyipeng@huawei.com> Content-Language: en-US From: Yipeng Zou In-Reply-To: <20221021021740.137196-1-zouyipeng@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.111.115] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500016.china.huawei.com (7.185.36.25) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ping~ 在 2022/10/21 10:17, Yipeng Zou 写道: > 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(-) > -- Regards, Yipeng Zou