Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5888541rwb; Mon, 14 Nov 2022 10:53:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf66C0EMeNaAEav0PyR3sTz3M3UTo5wbKiOzkXczCgYzMuT5nsx/D38TscW/t59EC+1dx2ck X-Received: by 2002:a17:902:bc41:b0:177:ed70:70ff with SMTP id t1-20020a170902bc4100b00177ed7070ffmr627719plz.28.1668452002142; Mon, 14 Nov 2022 10:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668452002; cv=none; d=google.com; s=arc-20160816; b=LlO+LrMEAE2MtlltbCIcxLI2Gtf93g/N10vymfyLSzRkSWzzUX9HTaef8b5X1rXnaC N16H1NuNSmI73q3P8YB8IPIAMZgEHnwMtfbnrKjp4jo9t0EHUHX8U+O+i9YkASJ3Zn4s mVI/BQsiGz9zm8D9bpT4Cuj0Tkh3+kN6EXlyS36Qenr+2J3cA40yfATPSPYAhz1MDYYA 4HpbS6lx6G+lKcgse4SRA6XQ3iXSqj3dFrnQuZUmAwe268Wo8Fts0faoznoZ2K+q1MKy mR2WrprE2cKf2LxClndNnc3o3hrc6vBK+Q5xvs0w4ABCnjv6TQQFitGeXOP4BNtcp0pB 6cLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=iMhUJAG9KSHnI6NGB1MXj03hf+6faFNgoV4GiffQcmQ=; b=ttJ9CYjnYd0lsmQa6uoa6gaDozA6W5PdzkLRVSCt/IEo2Hqd6iNzxqTIAXvi3HPnDP G9m9WH9i4kHJXnW5F94moNwIqRwQs5Z71k9VKPQpLXPF3+VZWOtT+KbMkA9j/bP5i4wm 2zuop7ar5/RsLVmiJGI/iiRdvn6LPmLrxC4n8aTj4x4+iSxNoF7xyp+tMpoYaAkKSYSK l0oVD9kBEG0aOuLRX3OeL3FHNfR3+vo4juja+VPwzKnS28RyE7ys1FMwTq5F6mvAe1eo vg8YIgyKY49M+SroSjZBz2Wq7U0tjvaBEdOCwXrQ8PIj6Vs2z+FWvhz9SV78ROvLXn3N dGOA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a170902d34b00b00186f035eda3si9311429plk.579.2022.11.14.10.53.11; Mon, 14 Nov 2022 10:53:22 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237760AbiKNRuG (ORCPT + 88 others); Mon, 14 Nov 2022 12:50:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237791AbiKNRty (ORCPT ); Mon, 14 Nov 2022 12:49:54 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8229525F2 for ; Mon, 14 Nov 2022 09:49:53 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1FC166132C for ; Mon, 14 Nov 2022 17:49:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E9C0C433D7; Mon, 14 Nov 2022 17:49:51 +0000 (UTC) Date: Mon, 14 Nov 2022 12:50:31 -0500 From: Steven Rostedt To: Linus Torvalds Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Stephen Boyd , Guenter Roeck , Anna-Maria Gleixner , Andrew Morton , Julia Lawall , Eric Dumazet , Marcel Holtmann Subject: Re: [PATCH v6 4/6] timers: Add timer_shutdown_sync() to be called before freeing timers Message-ID: <20221114125031.19f8330c@gandalf.local.home> In-Reply-To: References: <20221110064101.429013735@goodmis.org> <20221110064147.343514404@goodmis.org> <875yfitpdu.ffs@tglx> <20221113191518.0a3b29b1@rorschach.local.home> <87sfims7ca.ffs@tglx> <87iljhsftt.ffs@tglx> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 On Mon, 14 Nov 2022 09:16:31 -0800 Linus Torvalds wrote: > And honestly, for that to happen I'd be perfectly happy with something like > > #define timer_shutdown(t) del_timer(t) > #define timer_shutdown_sync(t) del_timer_sync(t) > > (obviously with the patches that first remove the existing > 'timer_shutdown()' uses first). That wouldn't introduce the *new* > semantics, but it would at least allow the different subsystems to do > the obvious cases, and let the networking people wonder about the much > less obvious ones. I can create the above series, if Thomas is OK with this approach. -- Steve