Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6008277rwb; Tue, 22 Nov 2022 07:40:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VrzLE+luXCzcZTl2jvajO8wTym4uCCiuyT3nPrJsqQZTQWr7Ky5oPEZGHlM3EQvKXqv1X X-Received: by 2002:a17:902:cf02:b0:186:c372:72d6 with SMTP id i2-20020a170902cf0200b00186c37272d6mr17465077plg.25.1669131650867; Tue, 22 Nov 2022 07:40:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669131650; cv=none; d=google.com; s=arc-20160816; b=d9Fy7rinMGeowV4bzHMedd/a4fPJkDkIZCHo9jzRz3ypfy/VNly2fUA3h9yGeTSqry rYr2Q3a+iE/bvs/QkcB0lbxn50SA7jkYDP5u/eef+lXcASSSe3U3hkaQvjzw/2KAfzBd ZheG6yc5CrlQqZ/2jL7IllEmIdjC/CuysaTc/aXhSMK8Aby65Q/7lF0jinKfxtF5MKvk yC4+IVacrIflJsdang1vx9rE8srsHKsvBKZyayKHc//K2vtkSaE7yrP0iROaCU/BjsUq C2VxWwGDpYWAs1gLiBCiBLniHLsAYyCvKiIawAl92MCND4ajTWP8yluoMlvz80xt7e5n wpZg== 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=OijekRnFcSMUvxVJyTxRRXfCO1iCsXi8yxiI00B5Dyk=; b=uSKbrUlgkbhcJXdWPb9mpcMJIe9Kl3Thv0rJ0FKJjpfcU8rRjoYcsiZQvhiRBnOGRt OKuSd/yjwamumjCoK97x3oHeP6m0Z1BHqCEGXx/GYfiGmARlY4Z44hm8zOcmSg/OgRrc nN3EfvWY8GEYBQqQvOrk3OEj5a3875xkbTtDPE9Kj3Wf0JfuqnKYZWWGZ1D1yvEE1AVp LV23Hdq+z6gBmU4ddjIpWNIu5c7xUEuGAiYmSQ52Qsxf0AfHkMv7Izb2bujcsMgEXgWR gSiD61/g6dV4WizhzoXSHjtSos3ToA+jV7ZASQKBuuaQZfQvxhrR9l7tntXQAzjwLVh0 oO0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-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 t26-20020a63445a000000b004779bfce4ccsi2320709pgk.452.2022.11.22.07.40.27; Tue, 22 Nov 2022 07:40:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-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-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232312AbiKVPih (ORCPT + 99 others); Tue, 22 Nov 2022 10:38:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232849AbiKVPif (ORCPT ); Tue, 22 Nov 2022 10:38:35 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0552E1DD; Tue, 22 Nov 2022 07:38:34 -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 ams.source.kernel.org (Postfix) with ESMTPS id 91557B81BE7; Tue, 22 Nov 2022 15:38:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BF2CC433D6; Tue, 22 Nov 2022 15:38:28 +0000 (UTC) Date: Tue, 22 Nov 2022 10:38:26 -0500 From: Steven Rostedt To: Thomas Gleixner Cc: LKML , Linus Torvalds , 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, Jonathan Corbet Subject: Re: [patch 06/15] timers: Update kernel-doc for various functions Message-ID: <20221122103826.319644d0@gandalf.local.home> In-Reply-To: <878rk3ggqa.ffs@tglx> References: <20221115195802.415956561@linutronix.de> <20221115202117.323694948@linutronix.de> <20221121154358.36856ca6@gandalf.local.home> <878rk3ggqa.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-bluetooth@vger.kernel.org On Tue, 22 Nov 2022 16:18:37 +0100 Thomas Gleixner wrote: > >> * > >> - * The function returns whether it has deactivated a pending timer or not. > >> - * (ie. del_timer() of an inactive timer returns 0, del_timer() of an > >> - * active timer returns 1.) > >> + * Contrary to del_timer_sync() this function does not wait for an > >> + * eventually running timer callback on a different CPU and it neither > > > > I'm a little confused with the "eventually running timer". Does that simply > > mean one that is about to run next (that is, it doesn't handle race > > conditions and the timer is in the process of starting), but will still > > deactivate one that has not been started and the timer code for that CPU > > hasn't triggered yet? > > Let me try again. > > The function only deactivates a pending timer, but contrary to > del_timer_sync() it does not take into account whether the timers > callback function is concurrently executed on a different CPU or not. > > Does that make more sense? Yes, much better. Thanks! -- Steve