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 X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38A44C4338F for ; Tue, 3 Aug 2021 15:18:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E7B460240 for ; Tue, 3 Aug 2021 15:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236614AbhHCPSc (ORCPT ); Tue, 3 Aug 2021 11:18:32 -0400 Received: from gateway34.websitewelcome.com ([192.185.148.214]:49938 "EHLO gateway34.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234206AbhHCPSb (ORCPT ); Tue, 3 Aug 2021 11:18:31 -0400 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 043EC309AE for ; Tue, 3 Aug 2021 10:17:55 -0500 (CDT) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id AwA3mXW1p7sOiAwA3m99vT; Tue, 03 Aug 2021 10:16:55 -0500 X-Authority-Reason: nr=8 Received: from host-95-239-202-226.retail.telecomitalia.it ([95.239.202.226]:38646 helo=x1.bristot.me) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mAwA2-0034De-IP; Tue, 03 Aug 2021 10:16:54 -0500 Subject: Re: [PATCH 36/38] tracing: Replace deprecated CPU-hotplug functions. To: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, Peter Zijlstra , Steven Rostedt , Ingo Molnar References: <20210803141621.780504-1-bigeasy@linutronix.de> <20210803141621.780504-37-bigeasy@linutronix.de> From: Daniel Bristot de Oliveira Message-ID: <2492349d-a98b-f6d0-4185-287c18799b56@kernel.org> Date: Tue, 3 Aug 2021 17:16:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210803141621.780504-37-bigeasy@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 95.239.202.226 X-Source-L: No X-Exim-ID: 1mAwA2-0034De-IP X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-95-239-202-226.retail.telecomitalia.it (x1.bristot.me) [95.239.202.226]:38646 X-Source-Auth: kernel@bristot.me X-Email-Count: 2 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/21 4:16 PM, Sebastian Andrzej Siewior wrote: > The functions get_online_cpus() and put_online_cpus() have been > deprecated during the CPU hotplug rework. They map directly to > cpus_read_lock() and cpus_read_unlock(). > > Replace deprecated CPU-hotplug functions with the official version. > The behavior remains unchanged. > > Cc: Steven Rostedt > Cc: Ingo Molnar > Signed-off-by: Sebastian Andrzej Siewior osnoise/timerlat/hwlat tested and it looks good to me. Acked-by: Daniel Bristot de Oliveira Thanks -- Daniel