Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1166539rbb; Mon, 26 Feb 2024 00:15:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoeJ9HOWZGCQGIejAEMnImCZpT0lCTGRgFW7YvJCKOz8j+9al9RtGmqrYiJ7ojzG5j2hYIHFP9NXIWZpMcmFMwywewVRm2c1N7j49Mjw== X-Google-Smtp-Source: AGHT+IEbdYkpnM86LdRp7XeQ+jTdRC3LMVHETA8TlyTfa11BYoDJoeFrUsG83DUSjKPC3AvEbUTb X-Received: by 2002:a50:cc92:0:b0:565:a5aa:22e5 with SMTP id q18-20020a50cc92000000b00565a5aa22e5mr3387002edi.26.1708935339187; Mon, 26 Feb 2024 00:15:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708935339; cv=pass; d=google.com; s=arc-20160816; b=N8CNJX2rcVsLuJ/WutOrtqWP+L5LcSj1FQ3oURnQHp5YvISNzcGwlsfXj7KPDbDb8E RHhQ6uCTFiJtLKOOhIAujszEnhDhEAfI5ieyFsX/9QzM3Xla4hKi/Z4+8iFgS9REToNu rFpX5goSnIs0AZfAKVCGb94NonF56S2efNk/KaEpmcdnOsPKGlFZiqamBoMb3/oO602y bxRSLzsaky3NzjpnzGgfyAB9cJuNj1En4j6E/JPABRP2+07Vs0mmtHipYQLNzmkL3d3x 0m/CptU7/AjbkwIqwTLRDv5olm3VnoHjhdY0Q+h+lXLmQ0UGrctZJqtqCjtuc69NG9Vi tIsA== 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=WrBQzEVdkr9eFlDo6TfTnyixqRJuUi9ObIKqgKXSr1I=; fh=blWNe4pa/Ki8jIT+6Q+txjGYFsdM351I7b+vOOIsl/U=; b=ITlznJ4aghMwxEL2RB9fhsmrWt2PJz0g4ZqynCb8kNzrGMML+hp6ngrWBn0ipMo16A MP2py6lI0vMz+Ri3SdPRGjKRk0xoGtKVQvoTpPYi4rxFuJTLzSybSc9jkCsuX24dtxO+ RQu/jBdEHAbGEOxiao3KNuCVrRwvmMrum9YdxSXtpRsytbF8fQICNt1yelefe51HP0Sj pKGVtpbnFZpPJWXbRny3K/vNlVZcSQOtEvIUokG4zgXmZ5WyO5aEzmvZSN0LI8TgeZ31 hYVwJSXVjHuKYSLSBv2VASwYbofiV7LRW0g0VrvUwxys6enGGa2Uf9p9FvWqykX1aMl9 ipFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3+hFNdNT; 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-80737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80737-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u29-20020a50c05d000000b0056568fe52eesi1869709edd.565.2024.02.26.00.15.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 00:15:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3+hFNdNT; 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-80737-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80737-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EA7E81F23C17 for ; Mon, 26 Feb 2024 08:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1B8C1CA8E; Mon, 26 Feb 2024 08:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3+hFNdNT"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="EPJF0vUS" 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 7D00A1CA8C for ; Mon, 26 Feb 2024 08:15:15 +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=1708935317; cv=none; b=srVkAajO0StAcdmXZifWeNKcwB0YlvvoX8ooVISWUh7EJRgukTVjyxHJ/IKUrzqwfhl+JMlPmYHXj50dEiPlFooclDimU0fbSFIi+zS++4Jwu5nfwlWRHCruOL412FB9UG3P821SlyyD7UwZ1RjxxwQOXoMEiVDjfKCj+XvvyVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708935317; c=relaxed/simple; bh=WrBQzEVdkr9eFlDo6TfTnyixqRJuUi9ObIKqgKXSr1I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=DWb0TwUfpnQbXR9O1MklUSVlOzmvaZ2dc0Nm39t3iHl7LVZ+yXPpVi0wFbjLhw1IHWmnCkrbcjHcjHGOZYieozjpceOOzFThzVFIMyDUrL8ptVszHM3wTxaEp/YAZfckTy5QIPYcIo0iZkSHpejJcM+rO619XaLlMJIVM3yr+40= 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=3+hFNdNT; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=EPJF0vUS; 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=1708935313; 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=WrBQzEVdkr9eFlDo6TfTnyixqRJuUi9ObIKqgKXSr1I=; b=3+hFNdNTwTyhcQ4gji7UQoN236No0WL6XgQ1WNM4PJCrNqgbjexH4p29tk2jToh66k/Box GHTbIN2x5NZ5+1cs5g6M03TDYPlNAXnpnDNpQbNs9V9hulxihk6PX0xKzzc+F9tQVqmzRm xdwBsgDvdy14mxBpIJWMkJdX7zO8b7s8cNPd/YA4gO5wySNN4oKLyn10F+suLuLK6g5Tr/ qFMWPsF5a6xAt9Ewu1M7NVKIvDwo4so+MR0TMwezqcpleE/orWgqnANF8lPxWu6HGM+oaF +o+G8/Nrlo91aOEExlhQ/dTKVPcj2nNDlHunmW6iCRszIuchcwEvAHJ8czPpsA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708935313; 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=WrBQzEVdkr9eFlDo6TfTnyixqRJuUi9ObIKqgKXSr1I=; b=EPJF0vUStO0jQlZ8jSCpR8WvjPGzqfzIdXit4FOjn+doEok6SL2KUVBF1qnVqfkfJ4qhCR D1QkLAyNVtOucuAA== To: Frederic Weisbecker , LKML Cc: Peng Liu , Ingo Molnar , Anna-Maria Behnsen , Joel Fernandes , Frederic Weisbecker Subject: Re: [PATCH 01/16] tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and tick_setup_sched_timer() In-Reply-To: <20240225225508.11587-2-frederic@kernel.org> References: <20240225225508.11587-1-frederic@kernel.org> <20240225225508.11587-2-frederic@kernel.org> Date: Mon, 26 Feb 2024 09:14:56 +0100 Message-ID: <87r0gzbq0v.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 Sun, Feb 25 2024 at 23:54, Frederic Weisbecker wrote: > From: Peng Liu > > The ts->sched_timer initialization work of tick_nohz_switch_to_nohz() > is almost the same as that of tick_setup_sched_timer(), so adjust the > latter to get it reused by tick_nohz_switch_to_nohz(). > > This also makes low-res mode sched_timer benefit from the tick skew > boot option. > > Signed-off-by: Peng Liu > Signed-off-by: Frederic Weisbecker Reviewed-by: Thomas Gleixner