Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1410990rwl; Fri, 4 Nov 2022 13:41:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM562hW2xgUtU4edzQCcJwTSRKXbw4WvN1FtPilO6YYuif6CspK51kcSCpspplUxARLSThL7 X-Received: by 2002:a63:4e66:0:b0:456:b3a7:7a80 with SMTP id o38-20020a634e66000000b00456b3a77a80mr31290122pgl.467.1667594495974; Fri, 04 Nov 2022 13:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667594495; cv=none; d=google.com; s=arc-20160816; b=uScLE+wwpP8qeOt5Ugt+qL6LtCPLZkg7zu8HF5DGcoDDgQ5C1HnbDnPpUShcNRGPHz zmdsExDfwYF7NlJceafgp4SJH+Esoe2fg8GTIZtPMGNYH63HFg8BcYVxmNPBJOh04Pai stk94Q4LHF79k2+vuve2eBare3ypizl8i4xay/CkdYfplRPVEGcaebGvSX6HFs9cVdG0 CHkZnogZwnSjomlOHl7JxAd2KoAcbgQi9qEYhNaYNvrbrzmGEW1wc+0WOrZPwM45tf3U HCxJIeqn474hL0dyeOJYKwvtPnjJFWHPheiXCexmmpaV+0H2m95xa3mlL/vW3HCbxWxX TWsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9lN8ClmqA674CDnsqxBY6p6j1UzI10/WvSrphQFuarg=; b=bfZIjrhrI+3EumE0zjFo7LiJO18pRXswzI5WWuCF6J3fEB/X37FDWwwgy12nc2npO6 cjLlvIfz4J07aNCk+k4sMRfIyXqcJasWjdLpO+duqCC7o0ArcuNXbsWNMcieGrZkxfBQ Ydm+NqqNtM9dDRrZCHvUc90vHBtHGKqEpnfj5LAasfGTf2edLFKdrh+DJIV3z+tFwKnJ EH+1sEKB0x3JIgw89Zbmbi20J6tVrLFt5G/Osu6yJMsFraccqNum2+9PxMND795+wSm4 Hm1Io+SDcSOFxgEKd9KQ6xQ3hi/fHDf330b8P06OvzBalGgx/KJJyHrZwFoN/ZnSCbs5 NRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=V2arLZ4q; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g16-20020a056a001a1000b00563ab8e5e83si127655pfv.370.2022.11.04.13.41.23; Fri, 04 Nov 2022 13:41:35 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=V2arLZ4q; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbiKDU3u (ORCPT + 98 others); Fri, 4 Nov 2022 16:29:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbiKDU3q (ORCPT ); Fri, 4 Nov 2022 16:29:46 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1A9D2FC1D for ; Fri, 4 Nov 2022 13:29:43 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id 7so2549930ybp.13 for ; Fri, 04 Nov 2022 13:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9lN8ClmqA674CDnsqxBY6p6j1UzI10/WvSrphQFuarg=; b=V2arLZ4qwc9DOfaPJPZhbjmyn9Lvc4HJj3lXbxTWQGVbFGEUjO5CUDOrH/F/Ygoq8T MLzyY3yhqAjRtejxx3oMuFJOyVtKPedTMhxJi0TIc7cPx5IRxmHFTbqfFkNjPSHpGkUE Dm+uvPZccR8IS2XwpzvT8OjWe03H+ODyJ3qkkTH0ltyEt+KLl2Gr+nzkc65N1tSc1yn6 LBt7Wnlgm/+Urj5ENeUPuPaXosM+DpjJGnG6uXpM1H1gVZCf8PsD5hgDi62sNHI9fHf6 8eD1fYLowhVp2tQ11OPcVwkXSNqNS6YN0CmVFquxMQLQMZrsQ83vPwp9wsh8h9jbYM4h JQmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9lN8ClmqA674CDnsqxBY6p6j1UzI10/WvSrphQFuarg=; b=Z7Jbq9iqGUk4kG2nHX0jat3EmQRHzN0yoj3QbpY1Sxccr4Zlqh/WLs7+0rmGPM/czz T/WqmhdhdgbHapTV+IcVpYxf0LxWP9+3HaVY0/kfeJuvTIeYnRLlsRhwMgc/VLTvr65y YwSVZ6Ji2lA0FtUGU3UdTw0ZVkrikcVhN0EZs9ZlLCZrVj5I425VqnCedZGxDxqcTlMZ PRsoelo88ngQ3zm8exx7ZkPIiDGAik8Qs10fnGtwuekKQUVr3iy/QwZzkj6CYKbiSBDr FVKE3QLAvM7hvQTTv0rF8nJZMgC1VL6Bmm5DMxUdx1YSaTArUj5GxE/aEWKQAP4gJLGp hA8A== X-Gm-Message-State: ANoB5pnxsohO09nmlFet4AGO4XgCv3vkbEYpfq2OYKfSjy7g24LKXkzO jOPYPRiaQnpvvz6ySfmSHXjj44DW1U3jbJUY0Or5qpxA2r4= X-Received: by 2002:a25:cece:0:b0:6d3:911f:27fd with SMTP id x197-20020a25cece000000b006d3911f27fdmr3559330ybe.340.1667593782651; Fri, 04 Nov 2022 13:29:42 -0700 (PDT) MIME-Version: 1.0 References: <20221104054053.431922658@goodmis.org> <20221104054917.543373979@goodmis.org> In-Reply-To: From: Suren Baghdasaryan Date: Fri, 4 Nov 2022 13:29:31 -0700 Message-ID: Subject: Re: [RFC][PATCH v3 31/33] timers: sched/psi: Use timer_shutdown_sync() before freeing timer To: Johannes Weiner Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Linus Torvalds , Thomas Gleixner , Stephen Boyd , Guenter Roeck , Anna-Maria Gleixner , Andrew Morton , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Fri, Nov 4, 2022 at 1:11 PM Johannes Weiner wrote: > > On Fri, Nov 04, 2022 at 01:41:24AM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (Google)" > > > > Before a timer is freed, timer_shutdown_sync() must be called. > > > > Link: https://lore.kernel.org/all/20220407161745.7d6754b3@gandalf.local.home/ > > > > Cc: Johannes Weiner > > Cc: Suren Baghdasaryan > > Cc: Ingo Molnar > > Cc: Peter Zijlstra > > Cc: Juri Lelli > > Cc: Vincent Guittot > > Cc: Dietmar Eggemann > > Cc: Ben Segall > > Cc: Mel Gorman > > Cc: Daniel Bristot de Oliveira > > Cc: Valentin Schneider > > Signed-off-by: Steven Rostedt (Google) > > Acked-by: Johannes Weiner Assuming the whole patchset makes it through the reviews, this part LGTM. Reviewed-by: Suren Baghdasaryan