Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1759305rdb; Thu, 25 Jan 2024 05:30:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/Bkv4iaBIC1ezM38a9IYFjEwX7cy6GJ8svLyIMwQjMkT5Spe1GyflSIuXd80NgdT9vY07 X-Received: by 2002:a05:6a20:baa2:b0:19c:71b7:33a5 with SMTP id fb34-20020a056a20baa200b0019c71b733a5mr770670pzb.81.1706189450030; Thu, 25 Jan 2024 05:30:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706189450; cv=pass; d=google.com; s=arc-20160816; b=EZdUo5I3hLF0lAOYNh477KIQ3NMlUyySaBV1jT07pO3N3qb88P7/YEjGrIw28oQSc1 +GyjJTIoYf8NCVcC3F/KglNKWXN4B8R4sso4eCRTDn0UZy7Wuq49+CB0kTLh/GMU2NXw Kz+K+MDFA2JoEHBfr5JBx9UUacfZcNFVxvtvFYox13gFAx9aKZqAjw7ItyEWGSjycvmb 3V2pVck4NWqxx8DAgVonB9GIAnMfEmI/eHdqkvZ8xVB9LXrKDiIDVMfUtl3AcMcdW5qA eGLAd62VoNrnAWnJrNfLMx/D7/b1ldOiSv7Axh0P6ppoW5hlTFPVn5syJIKkqyjSA7UL 5Jjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=5kdSSfYvADGdKw5gjzcDDROwT0/gGqPhOncxQDSRibs=; fh=DVDP3B8aKISnq4vqA4361ukZ73P9yltIv+7HUR1qVfs=; b=gFn0VH2wxoLJzfP4eaEr80rXRHSMH2l78jt9H9kqFBmy+8pla70L/trnlQN5sZCyQi 4jnLDJUb3w15HYYsKGCGkJwvsotUDpEOGS9BCy9r5jYErV2KxK2fK5q7EnU2LduaOh3o ZBbXY/hRw4UWCxQPlyaJkkQZpCidnO5HIE977Ee+yYrdCdKOE6GGIaumXtbeHFQBZ97T 8WRZiseIhaoZ2gbfsC8PeC0olWQ7eeBpXM7tB4dFsuP94eZdrQpye5F/rS2umHJQMlTN NK3NnibrfB7OJtP0WnIU+2LKgL80rrOjuevk/gONWntw6F4dpq/wnU7FNGikWXTN32kr Njbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=k1OLbGSp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38650-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p14-20020a056a000b4e00b006ddc2ac59c9si1763366pfo.391.2024.01.25.05.30.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:30:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38650-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=@linutronix.de header.s=2020 header.b=k1OLbGSp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38650-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 5543A291D8F for ; Thu, 25 Jan 2024 13:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0A275100B; Thu, 25 Jan 2024 13:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="k1OLbGSp"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="19zO674G" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 6646451001 for ; Thu, 25 Jan 2024 13:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189446; cv=none; b=RSu6nkZrSIWweFsA50LbkKW3Zc+Zco1mIqVwffPckdJfxGJvreGtYDRVaX24ACXD+Q/pQMPyp+Zf2gTewwbKQPcP/OULNi/N7B0H04t7GGAOz/1Sypp+KYb/bqMJBJzmaYMRzvBKIbCxAJAVYxFkbMZq41OZSooAV7x2xXOByPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189446; c=relaxed/simple; bh=h/uU8eQoI7TkoVtv+orv7Gfc3jLYH0IXZ5VfTnexG5M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=mQwY0jtcnvB2YiV4wvvjKWb1ir3Y/LUOYGBzlfk9wvrSjfBac5cLH6/bXo0bpINxMHUtevofm34p+6dJG1aZtGjnfmE2lpQen0XPVsADzE2yH0NuJkTQD7BfFJhVtfh94n/W4l0+8EEuZFgN6cAWntf0/V3gCTuaaQbSMucowEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=k1OLbGSp; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=19zO674G; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706189442; 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=5kdSSfYvADGdKw5gjzcDDROwT0/gGqPhOncxQDSRibs=; b=k1OLbGSpKX+/4+ZtQfB9dula0aX82Ze9+njKeLbZ8g0cldKYs16BrCLcaBUfxiUZoWCW5p RsvG1OZI9S8uejqqU+0lOG60ymdkPE92R3SorJLDaa9Mc1oTDUqY1NrMmgHd8Zlvon6R91 /wOCrkS9AHRc5005Xe3W05/arK6o2+0K0l4be3OkT/1rxwsn39Q1RP8bRU+cibWrxRd6bJ WdZFrb8yPEvNUd1wDROEDBaevUuUPC1QRy6oFOG/SicbXt9qKNlkyNCbUTCZX7Qgw4VdhU vXsZyfh3XAS1P9rfvjroQ25yvW3M8ECa9tZUj2TdvyVgqCAxmDuQmm1DpfHgYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706189442; 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=5kdSSfYvADGdKw5gjzcDDROwT0/gGqPhOncxQDSRibs=; b=19zO674GUTmD1nE1l1xdSNd8U7B/A5i6PnKuiH9aCOGIGaCXV7uzhbpDQlVHJHTfW48KTa yQh/8GUnNcrOGKCg== To: Frederic Weisbecker Cc: LKML , Peng Liu , Ingo Molnar , Anna-Maria Behnsen , Joel Fernandes Subject: Re: [PATCH 02/15] tick/nohz: Remove duplicate between lowres and highres handlers In-Reply-To: References: <20240124170459.24850-1-frederic@kernel.org> <20240124170459.24850-3-frederic@kernel.org> <87ede5kbc6.ffs@tglx> Date: Thu, 25 Jan 2024 14:30:41 +0100 Message-ID: <8734ulilq6.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Jan 25 2024 at 12:58, Frederic Weisbecker wrote: > On Thu, Jan 25, 2024 at 10:32:09AM +0100, Thomas Gleixner wrote: >> On Wed, Jan 24 2024 at 18:04, Frederic Weisbecker wrote: >> > +/* >> > + * We rearm the timer until we get disabled by the idle code. >> > + * Called with interrupts disabled. >> > + */ >> > +static enum hrtimer_restart tick_nohz_highres_handler(struct hrtimer *timer) >> >> Isn't that a misnomer now? > > Would tick_nohz_hrtimer_handler() make more sense then? Because it's clearly > an hrtimer handler, just emulated in low-res mode. Kinda. tick_nohz_handler() would be sufficient too.