Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp87291lqn; Thu, 11 Apr 2024 15:01:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWganBAZY1SJeF0Z+8aXWIzwQD4rUwj5rSDtGF/OAeE9TbOEH68LfxsJXsGDR9nM9hvro+hucADIuPsMi/owXMwoO2wUqcNdTlbt1wwMg== X-Google-Smtp-Source: AGHT+IEl11yWnQhRmw5dcvEIzlYqYHh0JSAG8SS+FL/zpIhzFnzbDQddsAy7mSfW/cD9olN0j3zU X-Received: by 2002:a05:6512:3885:b0:515:845f:6008 with SMTP id n5-20020a056512388500b00515845f6008mr567206lft.57.1712872872158; Thu, 11 Apr 2024 15:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712872872; cv=pass; d=google.com; s=arc-20160816; b=e3dUFXcQYnqcA1cVwe064epFkwm0WZ2eMVTl7wUkOCoekuDgw658Pw11JzmEpARgb0 Q0dLLhGlpTy6i/t4YuaYTVZeHmF5IREO+j8fjuMa6LymLrfiziPkwl0mTO5DZH53wS7a aQbXaS/1wTu6UZefQoeFSS/3QkG62sUWVEy8KXJcj5sW4s2LyqG+a/RKjrm33dHgdueI LPrFMp/0k65+CmjKHC7WGKFThQjH7r/Mhmv1OzG0NnujA6r2Tp5YK61Et8K1FhyNF4J8 W2y6sj3sAkzL/qP2cfE/QC+wLjcsW6wHzWrXOQp+yAJaladXLX5PtjHwTwevk7us3erv HSaw== 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=W+FJ1/n3wnMkA0gdtJNGno77fQUp/W+T9iYB0DgVyjI=; fh=tsYeUzTy+1NBn0EQ4FbbmcoF+ZbgZZmzDSBrnjOtvQ0=; b=PYz8PNyUIZi9z9mMnXN88fbvp6BxJU3pONYqpUzLXc1g45BcUxoLmMvb+q/hlgGojE owBDR6tmiwhjWt6rQMCyohOAgFfOMRpAftLnIYtYOJvwftOSaQpYwggRjqm0ccyf5WRP UCYxD3XmpvdLlqQ97cfxiVuqKhOwJ+C71Sy6PH4SoaSz4AYvU2TlUyemHKmi/xdalH8h RKoHPaS5VZ556GeuvS3nUNTPfmzNPAx5i+uzqaOv50KKSJB+VAN0VWdqdo2UVNCbde0Q z79k2OKd9q6jbvoEvEyZjtw94QN9lFbOr4Mu1QKiyZWypiOfxyCNC9R8OeUsv6kxgwkM JnIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=QJTSL4jn; 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-141655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141655-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 kl17-20020a170907995100b00a51c46013dbsi1095699ejc.686.2024.04.11.15.01.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 15:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141655-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=QJTSL4jn; 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-141655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141655-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 D294B1F22624 for ; Thu, 11 Apr 2024 22:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E022C3B2A8; Thu, 11 Apr 2024 22:01:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QJTSL4jn"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="faHaHg3Y" 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 BAC4236B08 for ; Thu, 11 Apr 2024 22:01:01 +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=1712872865; cv=none; b=C9Z0aC8FkRMM1tR9dOOlHmZtZaBRP7PeFG0h2y0flhd9oQgpBakwevGFN1Rxjk9ZV41WrWP3arHHq0tXEdhPcgCizFVanQSWlwJzCaUXiJApnhsaZoZwm045U/HK9DDoGXdliW6vsX9c6LBuUpTDKRCcQG5+MyrZ14tx6tfMXuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712872865; c=relaxed/simple; bh=W+FJ1/n3wnMkA0gdtJNGno77fQUp/W+T9iYB0DgVyjI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=SK7IyaaofSgLoIysepNOxH/v/o/L9tn2G4ZF+JGfHQ9ArJ5qenjCtiQYuRjQA1d5LpF2d69qbZbVeC/oPYbWmWjOFEfIQdZnjYVzA0mYGoXpUDW/wNu0ZAdAT8/k7kpetdhlEyFieUl019GF4d+LxMtv/jucab/xZrSxY3NxTew= 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=QJTSL4jn; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=faHaHg3Y; 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=1712872859; 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=W+FJ1/n3wnMkA0gdtJNGno77fQUp/W+T9iYB0DgVyjI=; b=QJTSL4jnpuauHOKWJPOyjcWV4FO6zXZehCPUrbqdAp958zGwoSF3197lucVF889UdOqURp EM6jmoLK4OI0Ijc5HUqF1dM8bS4wfD/IKxt9kItLbFW3d2/7gmPzIrYzRgzZgY6eQtcN0d vSNygraZEvh1eD2alITXemvCN6UvHaviki0IoDSVtMKoPmb66C02fs/oJvKBOQpnKzmrQ9 Z7Z+vKuHONJqC9ncWCxUellMjiEIARAqITIx8s0AJ2meGcmJ+IMMq5YmYqzLObt8amAsAI cb6LV3zBxpvE62GJHoU8YZaxN8BNHpBNPk3Reet2aJ7Ed2G7DYuVpPLa9dldNQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712872859; 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=W+FJ1/n3wnMkA0gdtJNGno77fQUp/W+T9iYB0DgVyjI=; b=faHaHg3YhVVqs67kgrWO1Fo7d6lwmvv2lh0ORM9UmTDxJ90BXakgmxq1igDKHtTkWxyhd/ 0HqW75x5CLgXQoAw== To: Anna-Maria Behnsen , LKML Cc: Frederic Weisbecker , John Stultz , Peter Zijlstra , Ingo Molnar , Stephen Boyd , Eric Biederman , Oleg Nesterov Subject: Re: [patch V2 08/50] posix-cpu-timers: Save interval only for armed timers In-Reply-To: <875xwougc9.fsf@somnus> References: <20240410164558.316665885@linutronix.de> <20240410165551.442678509@linutronix.de> <875xwougc9.fsf@somnus> Date: Fri, 12 Apr 2024 00:00:58 +0200 Message-ID: <8734rr1rvp.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, Apr 11 2024 at 16:25, Anna-Maria Behnsen wrote: > Thomas Gleixner writes: > >> There is no point to return the interval for timers which have been >> disarmed. >> > common_timer_get() returns/updates interval unconditionally - so > behavior then differs. Good catch! We really want to make this consistent.