Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp5220rdb; Wed, 21 Feb 2024 14:57:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVURYOkyMcePdzSxIeeOcNrr46hM56jHkNgqp+4OXTKJPw8c5Nj9FscaSKs4lcpbM0DSBnY/SjiQ63uLXqOp64ExsiFapAf8YN9TGzogA== X-Google-Smtp-Source: AGHT+IF0fYNwZhN7C7xvpxC+PDRKBAj1qWss4/KjjXK1t4JN7kdjQgA1dzE0FkEmjiXkGAUgQ2hU X-Received: by 2002:a05:6402:889:b0:565:e26:b119 with SMTP id e9-20020a056402088900b005650e26b119mr1649081edy.34.1708556262607; Wed, 21 Feb 2024 14:57:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708556262; cv=pass; d=google.com; s=arc-20160816; b=amUYvf03kaVYeDzRX1OwJMjOv5LfhWp7VILCYmooYqganZG8nVqsZ/nHc5xaJc+Glj r4Ii820WIODZbVTt7gbMSYYvtupE67zMv4Jjk/mkKmFCKibaIIHAciOJrWrKjhNmwKQF c6IQ0ovQDpTfp1B9EF333gcGcWHT8OqzbuI0Yfl/MyNJTZ6TLRB6ai8MxuS4BTqp1cBd qGGszOnnDLhg0nJGwR3BE92OCc5H3tRCC4bLShh5Rq3xtUbuNJ3Ezpe+3PJi7bHl4Qf0 V7zENVAlJ5RmBRNIIj68gyuo0bQztx8FTXWI+OlFBkObNDTxgVslwNNxacUP6MwoTzdT ETCg== 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=ktKI4HWGOiUjRnP6xfC5GzNIlhL1QaE30pHfmIUBt7I=; fh=yRexKbdcFyZ2btc+60AYnbmrqrOgHF1p9DV9sgliCaA=; b=eCC7olPZpkYi9Ah8StHc6hp5qyfb999x7AjgJqA5vidWOn2vmOQCn78j0SE1eR/MjN zCiO4mmKx6WalS72sd1s9nWICth3df0vUxPN5eaa0SdPEb7CdX2D55by/Mld84czfGZX RA3vwofClue7pkMcwvaz2ZtbZZaywrNu82ifSZ+/MdZc1a+mTKDmxykwXeGFfhiarjEJ /4S13sS4qsa8/Y9DsbVjDuHRo3hXLKgBxUU63VQgo4yT8myoK1OzH/BeVi06bXF30J8C EGAVetGPCoDpBuTwNaEtAg2/urwWrt9oWJbFQLrX0vCdSa4FbdG/2AF+aze7NhudAC/k W3lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ir6RjjpD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75623-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75623-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v23-20020a509557000000b00564c4b2f34asi2005784eda.604.2024.02.21.14.57.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 14:57:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75623-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ir6RjjpD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75623-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75623-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5CDA31F24191 for ; Wed, 21 Feb 2024 22:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B794180602; Wed, 21 Feb 2024 22:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ir6RjjpD" 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 DF64D10953 for ; Wed, 21 Feb 2024 22:57:35 +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=1708556256; cv=none; b=n93YwLvGyZFTyJmg2xmSopS3mbLRGDHayTll6ReUtm8mdD8FNRlC/st9I85UFUxJBnBMXkwjtFnzyLRsVgKm6wePMTjCTkwTMPcYWneGwMxkw0BDV8kPMZ1k913GHCaKd/nHZoYvG0neufZyZMxrrKrEnF7U7altYla9DuRNECc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708556256; c=relaxed/simple; bh=X1FkUIvCLYMNMFXbH86xBrQrJDNMfIXGTIyj0dRSxcI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dhpoVVHS5tzLkmgEOm0+0V/htC06TzEVAdwCChxVHZ5HB3EAdgLxj+MRDMRvyCSoPk+ICPjYfhmRbyse9I+5ka5265f36MkaIAXfl3iC+BHHCpUmYxgNe7NCMSEBdFNWtoTSGg5jWDF21aufZPpzpi2fupUyBPVsP2a3LbNq+NM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ir6RjjpD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00E94C433C7; Wed, 21 Feb 2024 22:57:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708556255; bh=X1FkUIvCLYMNMFXbH86xBrQrJDNMfIXGTIyj0dRSxcI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ir6RjjpDqUuV4/VQ7Ow8wy2J0F7m/y3DxAfWz97qgMGKYr7CcroNshA0DjLJLBGbb I+Uwi4RewSWhWR6ml7cbqRaNG0yXcdkBEAeiCm77qlIDptBV39wbzDXkJfu26Qwyvh FqYDuE/HwXWzY5E8xp4OehjPRknBByNen6cohhE9CAPXKGwg7/XLi9938v+I52Jb+L 79dq1+6Oo2ibdk7bTPb119K5VMqsABKcoNefH2ojE9PXFO4+DGV3fLecaliqQ34KtD OZ+FrgdOwPCKLMeOV8hJPl4RXmd8flxn2uUDpIiAM6A7CKp5AhjkE2CwU10TBPz5ZX BPxVVqvV39lWQ== Date: Wed, 21 Feb 2024 23:57:32 +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 , Christian Loehle , Richard Cochran Subject: Re: [PATCH v11 20/20] timers: Always queue timers on the local CPU Message-ID: References: <20240221090548.36600-1-anna-maria@linutronix.de> <20240221090548.36600-21-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: <20240221090548.36600-21-anna-maria@linutronix.de> Le Wed, Feb 21, 2024 at 10:05:48AM +0100, Anna-Maria Behnsen a ?crit : > The timer pull model is in place so we can remove the heuristics which try > to guess the best target CPU at enqueue/modification time. > > All non pinned timers are queued on the local CPU in the separate storage > and eventually pulled at expiry time to a remote CPU. > > Originally-by: Richard Cochran (linutronix GmbH) > Signed-off-by: Anna-Maria Behnsen Reviewed-by: Frederic Weisbecker