Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp84197lqj; Thu, 11 Apr 2024 10:25:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/nsf4duykWRbjhWvHSqNHo7n3FrXZ1x96G3NBCDMLLK2uz3XhkU8t7YSv5vsNxsAGrmC45U318d9mQcj1KeRqoVf0plZFE29VBtUPbQ== X-Google-Smtp-Source: AGHT+IF4Ql59V70rc01FflvxoxmGZ3n1RG99PoJL7S5KF4YaptqvFx8fLMHx6LgY8tmv7573L8II X-Received: by 2002:a05:6e02:1e0d:b0:36a:3ee8:b9ea with SMTP id g13-20020a056e021e0d00b0036a3ee8b9eamr275018ila.2.1712856341016; Thu, 11 Apr 2024 10:25:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712856340; cv=pass; d=google.com; s=arc-20160816; b=BkCDCCBCZ4uUlfW5UgcoLwU5RQQlJr0TjDfui0mHVzUt4x+6VJuvm+u6nrRMRmveGG tgy3JERmB2VWutEPFDguX0WNhnYWy0UzLCRbqOLJAv+0C8dNF0XtG/NCGVSfKhEjmY/6 jJ9VltP9Nupvpp6d+hGlqe7m5d2DrWfnQ+UKKUz/O2rN18/WhA4lBlkZGGjKUrzhYB/f FL7jIx4C7tSCmPMvVQmmng6GZX9pU26HFPXQj3tCalG9Yuqcd+0eZI0c0HUARIsJVhUp KYn/PQo2L4i35sdRlHVTuOskoS4ALGC9AkMRApnoFNRb7pflh1FrPZeC+0eX3lW1URtB zEWw== 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=/D7Bnqt3akU03Fp6RWSfJD3k2hdWIgCQAZkMA627hXE=; fh=MxOqrKe8Fax3kxE77rA0inxVaQwZCyEyqDk4Qwcbk14=; b=byThQqUaq5Z36EcfdRFYRFQoa25l6+yJFtTWAXHZAlPuUnI4P0QI/wEuB7e1Uf4dNb VvXCwDXU+mKhOGu9cBxCFWfro9FRemAnzVT+4nwTB0RCs1SW47pPOMISyfAZeLD4en5W Hty31gf6QGfyYtPA7e3zKrhIauWO+k+l7Q26GzHC59eUjlPiMPV+rHe6RRr8SKANx4Dt h0bCiSJY6HDMU0eetL/gjH7VrDLPlx/STOafpf9bt3O/TDBfjQBskkUnP2L4ZbFk4BPf MXDteO4vIieplgV60TffS9B0QcaA9aPnsEKotGREXOAFNwCRdLyfX6Y+PBQLTjeNRmnl 4Z+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xgdDwnoS; dkim=neutral (no key) header.i=@linutronix.de; 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-141229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141229-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 i15-20020a63130f000000b005dc957fe10bsi1615565pgl.701.2024.04.11.10.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:25:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141229-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=xgdDwnoS; dkim=neutral (no key) header.i=@linutronix.de; 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-141229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141229-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 A2828286B90 for ; Thu, 11 Apr 2024 17:22:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF8093FBAC; Thu, 11 Apr 2024 15:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xgdDwnoS"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="TbKtuB0M" 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 AF81D4653A for ; Thu, 11 Apr 2024 15:48:37 +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=1712850519; cv=none; b=O+g1KMmcCnJbX+15o27d9dLtFaVmwKpjykDO/urNb9f2+W6dVwQd+Jt0mDOUhL6NiJfqXZweYudGDN7dsnytrT+RRmNg+Pd2ckwc67uieBcf2SStS68OXdmpb2qVwPomCJGKkfNta+iCwJ3Z43AK+/8a8NlhbmxMJjp07Xlscqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850519; c=relaxed/simple; bh=Ogd+n1TSvoGdYjxz+AtJXVanOPO6rMM9UVyR85TrB3s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PmOEo+U4WSU3ZLWbV7VCSwsO3n9Q9TU9WBrmn3nyDykoIQLIERxP4/ihUSuVqVlw7Qttdf9J7NVgVQkcuK1+wJGQyiDFcH/p9UNGs46MI6MPZzOSf6Xorc6AiLsTy+YL4U+uPTXTTBHTbktfnIv/XO9QVHP4AaPAoH+SpZ+jRrc= 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=xgdDwnoS; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=TbKtuB0M; 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: Anna-Maria Behnsen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712850515; 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=/D7Bnqt3akU03Fp6RWSfJD3k2hdWIgCQAZkMA627hXE=; b=xgdDwnoSV8FRL0otFUi4A2h1bGADDNUW/qqBjNb83ggjEybUTc6B5iqdyth6pN421UKprj z0J06AD3+0egfRF/V87XhxCg8CX8DTklRd2B0LMzXuKK9WjjQ8eTX/hUk96SMG13iYxypq 72/1tMElG2anOALaOha2GZerWAuPbBW+gI5N5semdk/kDmBST5YcV10eeCd2UWwddHUAns JRd7AyaFSvwXFILhk8NXuhD1i/aUmDYkA6X4pzmwJAODyyjEZJpmXCUDbKcOFwixEoeLrY FKOqozevLFu6bZjYOHkGdG4/u8MiKhZG6JGUf9XeecqFuyUzvF7228iEssJXNQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712850515; 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=/D7Bnqt3akU03Fp6RWSfJD3k2hdWIgCQAZkMA627hXE=; b=TbKtuB0MyH/+BfNcUm7MmIh2rcrK69giR1XlsrCTPFpmjEhd9YQxiYWF8MDgWFQj5HyfNn bw96yFWWl949xnBQ== To: Thomas Gleixner , 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: <20240410165551.635345704@linutronix.de> References: <20240410164558.316665885@linutronix.de> <20240410165551.635345704@linutronix.de> Date: Thu, 11 Apr 2024 17:48:34 +0200 Message-ID: <8734rrvr1p.fsf@somnus> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain 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) ? > 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? Thanks, Anna-Maria