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 A58D7C4332F for ; Wed, 23 Nov 2022 17:05:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238502AbiKWRFn (ORCPT ); Wed, 23 Nov 2022 12:05:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237966AbiKWRFd (ORCPT ); Wed, 23 Nov 2022 12:05:33 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 423489A248; Wed, 23 Nov 2022 09:05:31 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669223129; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PgTWXneFnRsaQL5l6FFuRIiOLzxe0QUbUHjo5FawPdA=; b=fObtseNro5mWffM0T0jcbNZso48gwULpGcWrN2f+WryYNTx1jd/eZZjqG+eVmwhFUBU06o t/iknouVlvMyS4fiDuC+1vFBMwwSObGdYJkyBTy41y88PtU47dMuSBSsPL0H5aKuprG5hU l+JcK3nhz5jWFbSdTIUnvH/XRwX1ugFCPQIUL2dAdGWiDOc+y7zIF32gj8lFcjamlUAJsQ AcHIOAJ3RNufAKN/4Chca1p1vAcLmEkn6LcyHOQtfUOtJ4FUw+AOdSnXzTAhCxR0OB7eQ6 dv0UlmS3fwKc/i8fVpPN7Z/2rQ4HRN/WSEAEvpJb7GGPLKOxF5MtKOvPZCXdZg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669223129; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PgTWXneFnRsaQL5l6FFuRIiOLzxe0QUbUHjo5FawPdA=; b=WTXkGIx/5p9xTP5fplTXmKHFCaCwwqD7NPh0QPEc1ilTHJLUJo12hxO98fg48Q0bA8Gjyk lrcNlmfSLqUFIPCg== To: Jacob Keller , LKML Cc: Linus Torvalds , Steven Rostedt , Anna-Maria Behnsen , Peter Zijlstra , Stephen Boyd , Guenter Roeck , Andrew Morton , Julia Lawall , Arnd Bergmann , Viresh Kumar , Marc Zyngier , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: Re: [patch V2 13/17] timers: Split [try_to_]del_timer[_sync]() to prepare for shutdown mode In-Reply-To: <74922e6d-73d5-62cc-3679-96ea447a1cb4@intel.com> References: <20221122171312.191765396@linutronix.de> <20221122173648.849454220@linutronix.de> <74922e6d-73d5-62cc-3679-96ea447a1cb4@intel.com> Date: Wed, 23 Nov 2022 18:05:28 +0100 Message-ID: <87k03leh47.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 22 2022 at 15:04, Jacob Keller wrote: > On 11/22/2022 9:45 AM, Thomas Gleixner wrote: >> +int try_to_del_timer_sync(struct timer_list *timer) >> +{ >> + return __try_to_del_timer_sync(timer); >> +} >> EXPORT_SYMBOL(try_to_del_timer_sync); >> > > > Its a bit odd to me that some patches refactor and replace functions > with new variants all under timer_* namespace, but then we've left some > of them available without that. > > Any reasoning behind this? I guess "try_*" is pretty clear and unlikely > to get stolen by other code..? Kinda. I renamed del_timer*() because that's the ones which we want to substitute with timer_shutdown*() where possible and reasonable. A larger timer namespace cleanup is subject to a follow up series. Thanks, tglx