Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp60624rwl; Thu, 3 Nov 2022 19:46:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Tez7eCM3CGMqzy8CUz1tEpYZ4R5R0i7eZDmGmJqDM2Grsd8HxRrDMM9niaXFktagDgZG7 X-Received: by 2002:a05:6a00:24cb:b0:56c:7815:bc7d with SMTP id d11-20020a056a0024cb00b0056c7815bc7dmr33873110pfv.44.1667530014952; Thu, 03 Nov 2022 19:46:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667530014; cv=none; d=google.com; s=arc-20160816; b=I48/3+PFHHtVgsXJS2qPAITN5g0a4bMVwEi3rC+kgcw8wXpqlzSKMYjfwX5f0gEu8f 6wx/hHEiH4No7VeZkHr4r+ACKU6LeuIA4ipuFP1JUEwSqAv1xzZvgkd4LTq3Qw9GlDw0 6Z7eRmUZsWab9ZYA99/3oQFK1MhsB2YRc13BsnueSAL/n9yimf6ci9yG/UZRj9WttQI2 t6JjPOCv4bkAqrle5DLthuRYEbs3aFiXH8PcWr0KePUsso5vtCdfckzo5xZpdVFFWMmd YSEOoBdc6Mm57JpwO1H6eCL9icmsTw9b9ROLnlP+eK5xVzWrsDhzHxygar/Nz4Bn9KL9 yNTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id; bh=uD0AdGGrVCz2as4w8X/s37qQuKA2lTydLQJv7BFAFjg=; b=zkA/vY4bnaROo7nVa4lfEgw6peD/sgitnTvDgklqkC/rw2EMC8vxWn7AENalMuUeaT dkZi2nzpfXI/rYX0xXLXxVe3Z0BOvDWHDYihyI1PpmIOKqFbgInhRYQVU8sAQoowNJf0 B1cbZB09zKUUHHBcRcavRoLX1jWvHop3sClRhCkkKD71P8THFbpcPPLk1qjhyxu/g62k 4p0hFVUD3gPki0UZlYGJQamDARAtcvGiVy5pP56qjf1r0YUSH4xHnKHmU3T3ArPflKDw XbiRGN/hHBPtremmVcyTvHiasjx1TgF1rjWAwIvyY2t02E8UAeqiHJIBGucuIWoZNNCn uo0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w185-20020a6382c2000000b0046feb2759d8si3363863pgd.36.2022.11.03.19.46.43; Thu, 03 Nov 2022 19:46:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbiKDC0M (ORCPT + 96 others); Thu, 3 Nov 2022 22:26:12 -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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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