Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp889291rdb; Wed, 6 Dec 2023 02:58:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFE9CJBvabB/XeYx6yvGyMcvj8XGKFwp74wx6nNeclLdDH/MaLrOCWTm//ZvWCZpQb8/H1t X-Received: by 2002:a17:902:8bc5:b0:1d0:6ffd:6e84 with SMTP id r5-20020a1709028bc500b001d06ffd6e84mr410500plo.124.1701860306172; Wed, 06 Dec 2023 02:58:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701860306; cv=none; d=google.com; s=arc-20160816; b=gH5e0H/CK+vVMI+KEWiLCDJXljv6JbKvgamDZp7Y58uaIOYCvjxqiubikYhNhRcb7X CrtXd4hGLrp80D66bde0DIxp76Mc0lyB9BaQvZtsjpekXyjTSdsQMI3dEVGASxb672Dm BgY/8GoLu04jA4duCsWzgzLHlE3J8rxH48ZdPFWsJdPVGZuplCwv87sfAdN/0FX4axZd tQI0ZoOuEMpaMfpIfJS17dw//glt+KDt+sJwTb/OTEOnW7lVKL8E3muYynGn6U56jhdQ uTAyplAMR5AKdEmP70hzYBZy9VJzS96FNZb/PGiThLTNqhKnyxV7Ii7xLm8VTMEuLFY/ Yv7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=O0BPpnkeIBWztkssLgKJ5OKX3kt+/0R/h8JTeiGvo70=; fh=5cMh8CKYPGN1F0fzuaj1xrlN5+dBfa6bPK4XIprQ5s0=; b=AlBpZgJT+zjirUbcyOnFLaWB34DkfoL8p5tvGtkvZjzBhosXTO0Ymq2QY4Kk3Zp7kL qH/sR5NtZXQ9tGvRPOjN2D0Cq7WzgjLlELdlpTUM3/gnK58xZk36FdU5awR62t/xneta +Dy4xF0ECJyo3QdNHTQUXtVODNmZ0/wKhqzxXEMHFEkjHYS7u2aUrK9WRD6bvXTiKUGa MXy4KFKN/ExQgxLKbwnb5ukf8XBKcKLsG6ufsg2AKv6AcRQHyMmSEYauDexqnkmr8xV5 mkgsEYrnjmjrHDw/kOPjFZxxuJ8XS7LgXxwW/9XBHLSCxFW1zMz9poMMxrWXBC66I2ge o3Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3RGXAT0w; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=5mE8OU0h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id w7-20020a170902904700b001d06eae7147si7525730plz.215.2023.12.06.02.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 02:58:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3RGXAT0w; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=5mE8OU0h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0829080B19D0; Wed, 6 Dec 2023 02:58:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377836AbjLFK6F (ORCPT + 99 others); Wed, 6 Dec 2023 05:58:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377508AbjLFK6E (ORCPT ); Wed, 6 Dec 2023 05:58:04 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F4C99C for ; Wed, 6 Dec 2023 02:58:10 -0800 (PST) Date: Wed, 6 Dec 2023 11:58:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1701860288; 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=O0BPpnkeIBWztkssLgKJ5OKX3kt+/0R/h8JTeiGvo70=; b=3RGXAT0wefHrWBk6g5pfEh8YMH7owzQNQFu133LvqHw/K5zZ04q7WbM8F3S8mamBO22gns Km+cmDK7TeTCfx9smjPuxFq05RuoeeTalOvuZ4+5/YxVjkWxiHOyqCpoJM7BRbh0iLk4My hJi9HTsqSz7rnpdd2ZW4gSIaIxM36XrbXRbVt9gKbF+Bu/wwLv0NtFEPCPV+Of6rxo+iuu xrJAdOI7+X47vha5nn2c67HaBj92unsIEUNAa2R5Y5QqzrDlC39irwf+YMqtQYMH5E1VP4 JljM27RMpMX/+y7wvOhloy5XfytCvwozKZ0mBdkkZo3I1mYzVj1sh+NyX2T9Og== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1701860288; 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=O0BPpnkeIBWztkssLgKJ5OKX3kt+/0R/h8JTeiGvo70=; b=5mE8OU0hgpYwCEwq27o8MAoYyMm+F86TFPOuKD9uh3zYLxTAsMRPW0Cukf9+ZjB675ucBD /oZxrq/tRdv2qNDg== From: Sebastian Siewior To: Anna-Maria Behnsen Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , John Stultz , Thomas Gleixner , Eric Dumazet , "Rafael J . Wysocki" , Arjan van de Ven , "Paul E . McKenney" , Frederic Weisbecker , Rik van Riel , Steven Rostedt , Giovanni Gherdovich , Lukasz Luba , "Gautham R . Shenoy" , Srinivas Pandruvada , K Prateek Nayak Subject: Re: [PATCH v9 27/32] timers: Check if timers base is handled already Message-ID: <20231206105806.e4A02OHA@linutronix.de> References: <20231201092654.34614-1-anna-maria@linutronix.de> <20231201092654.34614-28-anna-maria@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231201092654.34614-28-anna-maria@linutronix.de> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 02:58:18 -0800 (PST) On 2023-12-01 10:26:49 [+0100], Anna-Maria Behnsen wrote: > Due to the conversion of the NOHZ timer placement to a pull at expiry > time model, the per CPU timer bases with non pinned timers are no > longer handled only by the local CPU. In case a remote CPU already > expires the non pinned timers base of the local cpu, nothing more CPU so it is consistent with the other. > needs to be done by the local CPU. A check at the begin of the expire > timers routine is required, because timer base lock is dropped before > executing the timer callback function. > > This is a preparatory work, but has no functional impact right now. > > Signed-off-by: Anna-Maria Behnsen Sebastian