Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp88183lqn; Thu, 11 Apr 2024 15:02:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdRh9dc85mesa3uCSCqWuns/yGWSNVDkLnHNyxD16WXQWF6WozxQZuFupa7N/kyqx/DIpLGjI+dtrF2XfhSgkrVSbDH59u/5gtBJVx7A== X-Google-Smtp-Source: AGHT+IEzX6Kk7zYFzMtFo1i0v9KJ6wx/DWOspPUNqFzEwrjg7A3Tb6+luojgtxN1CGX5a2UQO2EN X-Received: by 2002:a17:90a:e648:b0:2a2:acf3:4108 with SMTP id ep8-20020a17090ae64800b002a2acf34108mr1129498pjb.0.1712872958345; Thu, 11 Apr 2024 15:02:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712872958; cv=pass; d=google.com; s=arc-20160816; b=z3iCWnHBeVH5GYsDs2U+Rz3vUoY6ar37BLTRQZq7LgRzfgtSvFZaqpHyG8rrUeOvcQ fnvqczfCtcZvzbN9F7Rifn+rDpYq0Z4UkRcXNb2+UYdpcI5xP2PG46Qbr0Az1AkZsf/b VOpAnB9N84FcGm8WLbqwmpjN3sh5UD9PM9AOg7hcG/ZTNx3yvX8u1yTCBnZ0J28/DixE AsEZq9O3CTj3HmOn7YEDZd/J8G2MUtyEq5TZNLEGBj1DRg0dI0W3wN+VJm259o7p1kDL uAauTJacM/tkQica6m/B/lQKdo0uZaNtFD45f6F9Ax47YW8cs1Z1sldKS/8nKv8g3IkY gyrQ== 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=hINm3VgQ/iC6NoqwrzPmAm3wluW8FRV5SPabfp2G4Gg=; fh=tsYeUzTy+1NBn0EQ4FbbmcoF+ZbgZZmzDSBrnjOtvQ0=; b=vjrk9BadQ0BP4nWN3ThJvd0HJY90UQVI27S5vfOhOHVmxpJzhctCnysY7SyHHCv9jx /uGT4ismoUyITRtr41Sxq1bjytDk/8d7wDIw4FHCnaZCy8BCvs+fcVjwWYlvTIKKDOly 2vKq4SQ38G0sU4jnyDWAQHEe6Pz+dDtcQv45zEvigBCwM4/HvBLHN47ZNxLU8nqK34l/ nM7qxRZX1yIE4sV2lmLt0wSYySwwb3WXpMh21/USs1rkEpWlwoqCY8C66A+O8ixa1xZm 8Yb6qZMyx49KB6BL6eALRXdptdG5WoAgxm83kxX4xbNSvs1GIZLqzu53YAFO3NhxGSkV v0EQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kH3vamkr; 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-141657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141657-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fu11-20020a17090ad18b00b002a2adfc6206si2079602pjb.171.2024.04.11.15.02.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 15:02:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kH3vamkr; 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-141657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141657-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 0844D28368F for ; Thu, 11 Apr 2024 22:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBB623B2A8; Thu, 11 Apr 2024 22:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="kH3vamkr"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="sHxB9WKJ" 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 AE7A2335DB for ; Thu, 11 Apr 2024 22:02:30 +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=1712872952; cv=none; b=XVuGnztP1R2Xma7AMBLewmuqQlRj5vIzusVVimevi/FAj/UuqJJ/anp8RTEOFmAHCs6Jb21np2T/bZhzlzx+y9H66QWRN04NIlSuFUN2gVewGLVW4AaMWNJUITCTIxQxsUfPO0ztEvqYt3dp328d2xuJ6W5Ly+T7Qo9/S37igbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712872952; c=relaxed/simple; bh=TCfpmkNbXZg9S1OkDm7bfoX9eNqr+D7wDqMO4QFGPj4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=rVqoTuADpv4ZuDsuboPrfKX0utBouCb0r2YqIx8hweAuhzezGrWntWHg5VArLycx+925Cb7YZNa9+Q5gFwJJRV3VP9mQdbsnfQde4O35KEOdeEZ7gxj8bjzr50KtkrrzmigHyCbPCrndld+RGhVczWns8nQoBwbdNw+EA7oCOn4= 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=kH3vamkr; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=sHxB9WKJ; 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=1712872949; 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=hINm3VgQ/iC6NoqwrzPmAm3wluW8FRV5SPabfp2G4Gg=; b=kH3vamkrl06XlfoOKfM24LZgFpbciy1x6UL2uypn0k+Yq0bZxfqlSH+YQESS6gt0UlYqxl DJm+tZXQhFj31oRRpedNmux7RKAuLWehq5UZKaXYTyThx/kTSm3/7BqJGNt/IVYLjirIfb kN2zdMDYga7obVKmHPfWGLYMVQU1uemB0nw4dAAHfDffNSt/JOiFNbtUY994BMvkSGE4Il EC61fnfII6yl1+wtH7Zk0qVUR+SjHFYfBeLMxfvzRBUpBWOq4xCdMV+XUvWtyocjvqFcfU 3EuFnqxDetof3nSc7qygV1sxYzMApgOyMaY2OKrJUfUY8If6BsnX0Fo+16r0Ng== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712872949; 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=hINm3VgQ/iC6NoqwrzPmAm3wluW8FRV5SPabfp2G4Gg=; b=sHxB9WKJKQ2xlGJZC354hn/1JFfYSX4YScgHtT+oeovXlRAO6oq5UkUNXnLrqwZ+mKMZ32 WPuaHPioqoL80JAw== To: Anna-Maria Behnsen , LKML Cc: Frederic Weisbecker , John Stultz , Peter Zijlstra , Ingo Molnar , Stephen Boyd , Eric Biederman , Oleg Nesterov Subject: Re: [patch V2 11/50] posix-cpu-timers: Handle SIGEV_NONE timers correctly in timer_set() In-Reply-To: <8734rrvr1p.fsf@somnus> References: <20240410164558.316665885@linutronix.de> <20240410165551.635345704@linutronix.de> <8734rrvr1p.fsf@somnus> Date: Fri, 12 Apr 2024 00:02:28 +0200 Message-ID: <87zftzzhfv.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 17:48, Anna-Maria Behnsen wrote: > Thomas Gleixner writes: > >> Expired SIGEV_NONE oneshot timers must return 0 nsec for the expiry time in >> timer_get(), but the posix CPU timer implementation returns 1 nsec. > > copy paste error (get/set) ? Yes. >> Add the missing conditional. >> >> This will be cleaned up in a follow up patch. > > I'm confused. Why do you want to cleanup the conditional in a follow up > patch? This patch is to fix the issue. The next one consolidates the code, but I can see why the "this will be ..." part of the changelog does not make sense. Thanks, tglx