Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1129543rdb; Wed, 24 Jan 2024 05:56:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOb61FIRGKCiI+jfUsIpcF4maErlUG6BmSHAwcuZ6xutfW4srASEejL7agDuTP8LLECwCE X-Received: by 2002:a17:90a:2ec5:b0:290:1464:e994 with SMTP id h5-20020a17090a2ec500b002901464e994mr3648916pjs.46.1706104607292; Wed, 24 Jan 2024 05:56:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706104607; cv=pass; d=google.com; s=arc-20160816; b=a/422yrJ4TAULkWr6k5yhVM+YUa5iwtbqTGXNiP5K9YGUB1rqQ92TzbmdpDBy/7kVt e/vx2f+I/ZpLuko8+3NuhudCm/PVeJRbRYwbkelv/+0i9mSrpgbGD0+uM5KOAaxVqT6v AaohTSssrP84R9Jmr2pxq5yDgcrScmaaN/s/+5rFc1zrTiuscT6RI1jzlM4bnnUdT1V/ IgSEx4Gc//Pr+JWDg9Oa99K1J9y3WqL3hJHYRvTbYvrsF4npffqsBkpnTuSquOC1yCTs PuxDMY3D0CZkE7SliNUR0L/sWg0l4CSUzDcrmsn4q0wUSadGlS7Vsz8QtwAgR+n6jwHM mxxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0+fFndfmdn5udEy7JcpU4QVUhCSd24tkWxLLay6mteg=; fh=qkaKMG9y8quVjzDnj8uW6T2LjIGGHYUNw5Csy+Vsr1g=; b=MwXZfdDjqnuyx1k0GGdiO2IVP63UDPk6nbFxLm7FcbH8D/yeqIRUceONGa5XUaisBx hMFb+M8Sni4Jqea2ChsGIHmyGKU9NPnpb6lsygcMcl0xr96PNMaFuxBP2KmP3mm6XSA0 B8MZ97ejqs7VVYCtcLI/sBc3WsFP2UbqbaBUvyeTv+2IH/LEN9z6y1AF0Oqy9pMebUeW hbzXloxdJ2bdz2ffcRUx9Itw7fWqWF+TWiuCaqsCXz0mnEWxNjmz+7E5amBTJ1bhRaDo 5RgH98zjBW5gOflU+wZ6NSLnRF9CBg8EGGAUzDHqsD6PzRVkMFC1F7TT3f1ZDCRCTxIK M1PA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQF2HJY4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37081-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ga8-20020a17090b038800b0028c5375ed45si11837124pjb.35.2024.01.24.05.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 05:56:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37081-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQF2HJY4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37081-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 519CB293E44 for ; Wed, 24 Jan 2024 13:56:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9E0877F3A; Wed, 24 Jan 2024 13:56:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qQF2HJY4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5CABA48 for ; Wed, 24 Jan 2024 13:56:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706104603; cv=none; b=cMZd0sVE1J+yEjNp50L/bZ8Q37qer1m7TxyRRGcVw6ecBoNI2n8Rj7oJXrQSISC6w/h1yz9StyY6wh071wPgX1f8lsho+0bKdFLd9R46aeWeE2pOQKs226ehMRd4j0kPrrdz4LxgaccHiBsaPmoFhB5Kc0orunyU73/t/EWvQlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706104603; c=relaxed/simple; bh=fO+Kb4S1vDsw8RGbUhohqDu1hI9gt4XV/mefpNFpTM4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Dx/s6reCPv6dScb5iG7K0cBpl9xXBtfjiEkQV6/qLXwmKKYkvdHTNlkEo4fagGuUIJ6pjku/vER33+1QQ2l9AOa0DR6mMA9IfttZHLlDUE8b0vQPgrUD/azwfzFwN09Gl/3ELivzE6KgIHKIfwvxKwEKmNRENHWu4JoieYr4Oso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qQF2HJY4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01C54C433F1; Wed, 24 Jan 2024 13:56:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706104602; bh=fO+Kb4S1vDsw8RGbUhohqDu1hI9gt4XV/mefpNFpTM4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qQF2HJY405CqnhZ0maObVHeMu2QDPW39RTJNTQ77hLXI3YPbsBmNhYL1UyjK0gChx n7VqdonQeNfJcLnLcqVQBpVm5PfFaNAOG7m1QNeXGf4DqPW+znVpZEDI1TosN7K8PM CCIqf/TPdvRHT0mn8mPwpI3L94wLppEoRake9M6MVWdZpkD3uS1Jf/xDYddHFKJKPJ /+ZB3qhSXfkiJeVIFLhMS3abAhPnlg6LV+XDJJlX32y1XQ9tYOH5Mmbp2pp+PD0S3T C/3iw4j3H9cIO2kYcH3s13BoqwDyqidLW9yxdufzQ8X6IO0fcN0IcfftGwsElxzYvz bCR2cKbqrPj0g== Date: Wed, 24 Jan 2024 14:56:39 +0100 From: Frederic Weisbecker 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" , Rik van Riel , Steven Rostedt , Sebastian Siewior , Giovanni Gherdovich , Lukasz Luba , "Gautham R . Shenoy" , Srinivas Pandruvada , K Prateek Nayak , "Richard Cochran (linutronix GmbH)" Subject: Re: [PATCH v10 14/20] timers: Restructure internal locking Message-ID: References: <20240115143743.27827-1-anna-maria@linutronix.de> <20240115143743.27827-15-anna-maria@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240115143743.27827-15-anna-maria@linutronix.de> Le Mon, Jan 15, 2024 at 03:37:37PM +0100, Anna-Maria Behnsen a ?crit : > From: "Richard Cochran (linutronix GmbH)" > > Move the locking out from __run_timers() to the call sites, so the > protected section can be extended at the call site. Preparatory patch for > changing the NOHZ timer placement to a pull at expiry time model. > > No functional change. > > Signed-off-by: Richard Cochran (linutronix GmbH) > Signed-off-by: Anna-Maria Behnsen Reviewed-by: Frederic Weisbecker